MIT 6.846 Lab 1 Posted on 2018-12-21 Part I: Word count问题描述代码解析12345678910111213141516mapreduce.RunSingle(5, 3, os.Args[2], Map, Reduce)func RunSingle(nMap int, nReduce int, file string, ... Read more »
CMU Optimization l1 Posted on 2018-07-05 1.1 math optimization min f_0(x)\\ s.t.f_i(x) \le b_i , i = 1,...,m1.2 application1.3 Solving optimization problemsgeneral optimization problem very d ... Read more »
hihocoder 196 Posted on 2017-12-03 hihocoder 196逆序单词描述在英文中有很多逆序的单词,比如dog和god,evil和live等等。 现在给出一份包含N个单词的单词表,其中每个单词只出现一次,请你找出其中有多少对逆序单词。 输入第1行:1个整数,N,表示单词数量。2≤N≤50,000。 第2..N+1行:每行1个单词,只包 ... Read more »
线性回归 Posted on 2017-12-03 线性回归定义给定数据集$D=\{(x_1,y_1),…,(x_m,y_m)\}$,其中$x_i=(x_{i1};x_{i1};…;x_{id}),y_i \in R$ 线性回归试图学得一个线性模型以尽可能精确地预测实值输出标记。 TODO使用极大似然估计解释最小二乘法由中心极限定理可知,模型预测值与 ... Read more »