Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using e...
分类:
其他好文 时间:
2015-02-27 11:58:37
阅读次数:
169
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without u...
分类:
其他好文 时间:
2015-02-26 18:33:18
阅读次数:
99
与CSS动画结合当与CSSanimation结合,可以得到更加有创意的效果,比如这个来自codepen的示例CSShtml { color: red; animation: color 30s linear infinite;}@keyframes color { 33.3% { color:...
分类:
Web程序 时间:
2015-02-26 14:51:12
阅读次数:
220
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculus or Linear Algrbra), and E - Eng...
分类:
其他好文 时间:
2015-02-25 21:10:23
阅读次数:
157
在之前的这篇日志中,我简单介绍了使用R进行Logistic
Regression时,Recall,Precision,TPR,FPR等等的计算,但是如果依照这种方法绘制ROC曲线(关于ROC和AUC的概念,网上有很多介绍,例如:http://beader.me/2013/12/15/auc-roc/ )就太过于麻烦了,需要手动调整分类阈值。其实R也提供了最基本的ROC曲线绘制的工具包(Pack...
分类:
其他好文 时间:
2015-02-23 12:01:29
阅读次数:
269
机器学习Machine Learning - Andrew NG
courses学习笔记
Classification
0、1表示含义
denote with 0 is the negative class
denote with 1 is the positive class.
Hypothesis Representation
Decisi...
分类:
系统相关 时间:
2015-02-19 23:00:48
阅读次数:
350
Some math I did ... (not 100% verified, but looks like it works)
n = near
f = far
z = depth buffer Z-value
EZ = eye Z value
LZ = depth buffer Z-value remapped to a linear [0..1] range (near plane t...
分类:
其他好文 时间:
2015-02-16 11:47:34
阅读次数:
195
logistic regression , 梯度下降法
分类:
其他好文 时间:
2015-02-14 18:48:35
阅读次数:
216
线性方程组 linear equations形如a1x1+a2x2+a3x3+....+anxn=b的方程是线性方程,其中a1到an通常是已知数。线性方程组是由一个或几个包含相同变量的x1..x2..xn的线性方程组成的。线性方程组的一组解是一组数(s1..s2..sn),解得集合称之为解集。具有相...
分类:
其他好文 时间:
2015-02-09 12:41:00
阅读次数:
212
This post builds on aprevious post, but can be read and understood independently.As part of my course on statistical learning, we created 3D graphics ...
分类:
其他好文 时间:
2015-02-09 10:43:24
阅读次数:
245