1. Sigmoid FunctionIn Logisttic Regression, the hypothesis is defined as:where function g is the sigmoid function. The sigmoid function is defined as:...
分类:
系统相关 时间:
2015-06-25 21:12:53
阅读次数:
804
这节课讲的是线性回归。与其他课程的线性回归相比,这门课要更加理论。通过说明线性回归误差是二分类误差的上界,来证明线性回归可以用于二元分类。参考:http://www.douban.com/note/323611077/
分类:
其他好文 时间:
2015-06-25 19:21:09
阅读次数:
160
deque supports const time insert and erase operations at the beginning or the end, insert or erase in the middle take linear time.vector在中间位置插入和删除操作时间...
分类:
其他好文 时间:
2015-06-24 22:33:56
阅读次数:
201
这一节开始讲基础的Linear Regression算法。(1)Linear Regression的假设空间变成了实数域(2)Linear Regression的目标是找到使得残差更小的分割线(超平面)下面进入核心环节:Linear Regression的优化目标是minimize Ein(W)为了...
分类:
其他好文 时间:
2015-06-24 22:15:16
阅读次数:
373
(1) How to comput the Cost function in Univirate/Multivariate Linear Regression;(2) How to comput the Batch Gradient Descent function in Univirate/Mul...
分类:
系统相关 时间:
2015-06-24 10:55:27
阅读次数:
546
Single Number
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runti...
分类:
其他好文 时间:
2015-06-23 15:37:31
阅读次数:
124
使用EditText的addTextChangedListener(TextWatcher watcher)方法对EditText实现监听,TextWatcher是一个接口类,所以必须实现TextWatcher里的抽象方法:
当EditText里面的内容有变化的时候,触发TextChangedListener事件,就会调用TextWatcher里面的抽象方法。
布局:
<Linear...
分类:
移动开发 时间:
2015-06-22 19:25:42
阅读次数:
167
Linear Rendering Overview Linear rendering refers to the process of rendering a scene with all inputs being linear. Normally textures exist with gamma...
分类:
其他好文 时间:
2015-06-22 16:11:32
阅读次数:
175
MNIST是一套对手写数字进行识别的数据集:http://yann.lecun.com/exdb/mnist/MNIST的数据结构官网上已给出,挺奇葩的-.-,所以第一件事是把数据整理出来我写了个脚本帮我整理,输出的是一坨文本文件,【其中image是用灰度矩阵表示,每个像素1字节,每张图28x28 ...
分类:
其他好文 时间:
2015-06-21 18:29:51
阅读次数:
169
Dscription:Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear r...
分类:
其他好文 时间:
2015-06-21 18:21:49
阅读次数:
83