使用CSS3的animation动画属性实现360°无限循环旋转。代码片段: //图片路径自定义CSS样式书写如下:#change{ position:absolute; right:200px; -webkit-animation:change 2s linear infinite;}@-w...
分类:
Web程序 时间:
2015-07-16 21:35:08
阅读次数:
451
一直听闻Logistic Regression逻辑回归的大名,比如吴军博士在《数学之美》中提到,Google是利用逻辑回归预测搜索广告的点击率。因为自己一直对个性化广告感兴趣,于是疯狂google过逻辑回归的资料,但没有一个网页资料能很好地讲清到底逻辑回归是什么。幸好,在CS229第三节课介绍了逻辑...
分类:
其他好文 时间:
2015-07-16 16:22:02
阅读次数:
268
对于PLA, pocket, linear regression, logistic regression,这些gradient descend的方法,我们可以选择迭代的次数,学习率,也可以选择对原来的feature进行多项式的转换映射到高维空间。为了防止overfitting,regularize...
分类:
其他好文 时间:
2015-07-15 19:09:37
阅读次数:
152
Brutal-force solution is not hard to think about. But linear space input usually indicates O(n) DP solution.State design: dp[i]: total sum until index...
分类:
其他好文 时间:
2015-07-15 14:45:05
阅读次数:
97
blasThe BLAS (Basic Linear Algebra Subprograms) are routines that provide standard building blocks for performing basic vector and matrix operations. ...
分类:
其他好文 时间:
2015-07-14 17:45:50
阅读次数:
106
题目:Given an integer array of sizen, find all elements that appear more than? n/3 ?times. The algorithm should run in linear time and in O(1) space.解题思...
分类:
其他好文 时间:
2015-07-14 17:35:47
阅读次数:
318
使用CSS3制作倒影img { -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(50%, transparent) , to(r....
分类:
Web程序 时间:
2015-07-14 15:09:54
阅读次数:
115
详细内容参照Spark官网:http://spark.apache.org/
Spark相关项目:
Spark SQL 、Spark Streaming 、Machine Learning 、GraphX
1、Spark SQL :用Spark编写的混合SQL查询,能在分布式数据集中查询结构化数据,使得复杂分析算法的查询更容易。
2、Spark Streaming :Spark Strea...
分类:
其他好文 时间:
2015-07-14 11:35:22
阅读次数:
257
Logistic regression (逻辑回归)是当前业界比较常用的机器学习方法,用于估计某种事物的可能性,也用来进行分类。
在分类的情形下,经过学习之后的LR分类器其实就是一组权值w0,w1,...,wm.
当输入测试样本集中的测试数据时,这一组权值按照与测试数据线性加和的方式,求出一个z值:
z = w0+w1*x1+w2*x2+...+wm*xm。 ① (其中x1,x2,...,...
分类:
其他好文 时间:
2015-07-14 11:27:21
阅读次数:
149
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ...
分类:
其他好文 时间:
2015-07-13 20:13:08
阅读次数:
126