转载链接:http://www.cnblogs.com/tornadomeet/archive/2013/03/15/2961660.html 前言 本文是多元线性回归的练习,这里练习的是最简单的二元线性回归,参考斯坦福大学的教学网http://openclassroom.stanford.edu/ ...
分类:
其他好文 时间:
2017-05-05 10:38:38
阅读次数:
243
4.1 多维特征 4.2 多变量梯度下降 4.3 梯度下降法实践 1-特征缩放 4.4 梯度下降法实践 2-学习率 4.5 特征和多项式回归 4.6 正规方程 4.7 正规方程及不可逆性(可选) 4.1 多维特征 目前为止,探讨了单变量/特征的回归模型,现在对房价模型增加更多的特征 增添更多特征后, ...
分类:
其他好文 时间:
2017-05-04 20:17:03
阅读次数:
244
1. Modeling seasonality w1 models the linear trend of the overall process. w2 models the seasonal component sinusoid with a period of 12 and you do no ...
分类:
其他好文 时间:
2017-05-02 23:35:09
阅读次数:
179
1. Convex and concave functions Concave is the upside-down of the convex function and convex is a bow-shaped function 2. Stepsize common choice: as th ...
分类:
其他好文 时间:
2017-05-01 18:20:17
阅读次数:
202
softmax和sigmoid实际上都是属于logistic regression,sigmoid是二分类的lr,拟合Bernoulli distribution(二项分布);0softmax是多分类的lr,拟合Multinomial distribution(多项分布)。 sigmoid函数可以很 ...
分类:
其他好文 时间:
2017-05-01 18:18:00
阅读次数:
267
http://freemind.pluskid.org/machine-learning/softmax-vs-softmax-loss-numerical-stability/ softmax 在 Logistic Regression 里起到的作用是将线性预测值转化为类别概率 ...
分类:
其他好文 时间:
2017-05-01 17:02:56
阅读次数:
209
维基上corss entropy的一部分 知乎上也有一个类似问题:https://www.zhihu.com/question/36307214 cross entropy有二分类和多分类的形式,分别对应sigmoid和softmax ...
分类:
其他好文 时间:
2017-05-01 13:36:04
阅读次数:
168
简介:Libsvm is a simple, easy-to-use, and efficient software for SVM classification and regression. It solves C-SVM classification, nu-SVM classificatio ...
分类:
其他好文 时间:
2017-05-01 12:51:30
阅读次数:
470
1. Multiple Features note:X0 is equal to 1 2. Feature Scaling Idea: make sure features are on a similiar scale, approximately a -1<Xi<1 range For exam ...
分类:
其他好文 时间:
2017-05-01 12:06:43
阅读次数:
199
必做: [*] warmUpExercise.m - Simple example function in Octave/MATLAB[*] plotData.m - Function to display the dataset[*] computeCost.m - Function to com ...
分类:
系统相关 时间:
2017-04-29 09:53:43
阅读次数:
302