码迷,mamicode.com
首页 >  
搜索关键字:combination theory    ( 1177个结果
数据挖掘的十种分析方法
1.记忆基础推理法(Memory-Based Reasoning;MBR) 记忆基础推理法最主要的概念是用已知的案例(case)来预测未来案例的一些属性(attribute),通常找寻最相似的案例来做比较。 记忆基础推理法中有两个主要的要素,分别为距离函数(distance function)与结合函数(combination function)。距离函数的用意在找出最相似的案例;结合...
分类:其他好文   时间:2014-09-25 20:37:17    阅读次数:299
shell的简单实现
shell是Unix/Linux中的重要工具,用来解析用户输入的命令。下面我们来实现一个简单的shell程序,来练习fork/exec/wait/exit的使用,顺便推荐一本书籍《Understanding Unix/Linux Programming - A Guide to Theory and...
分类:其他好文   时间:2014-09-24 21:50:47    阅读次数:226
心理发展的理论
1、认知发展(theory of cognitive development stages),用运算来作为划分标准 2、人格发展 3、最近区发展 认知发展 皮亚杰提出。 人的知识来源于动作,动作是感知的源泉和思维的基础。 人在认识周围世界的过程中,形成自己独特的认知结构,叫做图式。 人类所有的心理反...
分类:其他好文   时间:2014-09-23 12:30:54    阅读次数:176
[笔试题]字符串的排列和组合
string-combination-permutation
分类:其他好文   时间:2014-09-23 00:20:13    阅读次数:259
字符串的组合
引用剑指offer 1 //组合,从字符串str中取m个字符的所有组合,结果保存在vector中 2 void combination(char* str,int m,vector& result){ 3 //有两个停止条件:m==0或者*str=='\0' 4 //先判断m 5 ...
分类:其他好文   时间:2014-09-20 15:16:27    阅读次数:203
Pooling
Pooling: OverviewAfter obtaining features using convolution, we would next like to use them for classification. In theory, one could use all the extra...
分类:其他好文   时间:2014-09-19 17:22:45    阅读次数:233
HDU - 3336 Count the string
Problem Description It is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write down all the non-empty prefixes of this string. F...
分类:其他好文   时间:2014-09-15 17:47:39    阅读次数:183
Combination Sum 和Combination Sum II
这两道题的基本思路和combination那一题是一致的,也是分治的方法。其中combination Sum复杂一点,因为每个数可能用多次。仔细分析下,本质上也是一样的。原来是每个数仅两种可能。现在每个数有k +1中可能,k = target / i。所以就是把简单的if else 分支变成for循...
分类:其他好文   时间:2014-09-11 22:15:22    阅读次数:188
【LeetCode】Combination Sum
Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thes...
分类:其他好文   时间:2014-09-09 10:54:08    阅读次数:190
LeetCode--Combination Sum
由于需要就地保存清零信息,所以把信息保存在第一行和第一列 1 class Solution { 2 public: 3 void setZeroes(vector > &matrix) { 4 const int ROW = matrix.size(); 5 ...
分类:其他好文   时间:2014-09-06 23:46:04    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!