MIT ML 听课笔记(一)
来源:互联网 发布:catdrawing转换软件 编辑:程序博客网 时间:2024/04/29 21:08
machine Learning :
- supervised learning ;
- unsupervised Learning
supervised learning:对于数据集中的每个数据,都有相应的正确答案。算法就是基于这些来做出预测。
1.regression problem (predict continuous valued output):
Regression is a ML task where T has a real-valued outcome on some continuous sub-space
2.classification problem (预测是否为某种离散值)
Classification is a ML task where T has a discrete set of outcomes
m=number of training examples
x’s= input variable/features
y’s=output variable/target variable
(x,y) one training example
:=means assignment.
a:=b means take the value in b and use it overwrite whatever value is a . This means set a to be equal to the value of b, which is assignment.
运用梯度下降的两个技巧:
- feature scaling :特征缩放(讲特征范围控制在-3—3)
mean normalization: replace xi with xi-ui to make features have approximately zero mean
x <- x-u/s
u: average value of x in training set
s: range(max-min)
不需要太精确,只是为了让梯度下降法更快
2.
如何确保梯度下降算法work correctly:
for sufficiently small alpha, j-theta should decrease on every iteration. (cost一直在减小)
所以如果j(theta)变大或者没有一直变小,往往是learning rate太大了,需要变小。
如果alpha过于小,那就会收敛的很慢。
- MIT ML 听课笔记(一)
- 听课笔记(一)
- CCNA听课笔记一
- 听课练习(一)
- 接口(听课笔记)
- 听课笔记(二)
- 听课笔记(六)
- MIT 6.00 导论课程笔记(一)
- Oracle 11g SQL 听课笔记(一)
- Image and video processing 听课笔记(一)
- Andrew Ng机器学习(ML)入门学习笔记(一)
- 听课笔记
- 听课笔记
- 听课笔记
- 刘鹏计算广告学听课笔记 第二章:合约广告系统(一)
- 刘鹏计算广告学听课笔记 第三章:受众定向(一)
- 台湾国立大学机器学习基石.听课笔记(第十六讲一):Three Learning Principle
- 硬件三人行,运放基础第2讲听课笔记,电路分析基础(一)
- myeclipse项目加入maven支持
- 92. Reverse Linked List II
- HDU-1008-Elevator
- Java中的设计模式之普通工厂模式
- ANDROID STRINGS.XML 中的特殊字符转义
- MIT ML 听课笔记(一)
- 计算反射光向量
- React(9)--表单
- sublime 经典入门
- 93. Restore IP Addresses
- 欢迎使用CSDN-markdown编辑器
- 神威太湖之光——世界超算冠军
- Easy 278题 First Bad Version
- HDU-1005-Number Sequence