Machine Learning Week 1
来源:互联网 发布:音乐制作软件哪个最好 编辑:程序博客网 时间:2024/05/22 03:01
Mathine Learning Week1
- Mathine Learning Week1
- Classify
- Supervised learning
- Unsupervised learning
- Liner Regression
- Hypothesis Function
- Cost Function
- Gradient Descent
- Classify
Classify
Supervised learning:
“right answers”given
i) Regression: Predict continuous valued outputs
ii) Classification: Discrete valued output(0 or 1 or even more)
Unsupervised learning
Clustering(Algorithm)
Liner Regression
Hypothesis Function
The Hypothesis Function:
hθ(x)=θ0+θ1x
in details:
the way of choosing parameters:
Cost Function
Cost Function:
J(θ0,θ1)=12m∑i=1m(hθ(x(i)−y(i))2
3D cost function figures:
using contour figures to represent 3D plots:
Gradient Descent
Gradient Descent:
for j=0 and j=1θj:=θj−α∂∂θjJ(θ0,θ1)
Especially Gradient Descent for Linear Regression:
repeat until convergence:{
Simultaneous update the parameters:
Gradient descent with one variable:
Why learning rate shouldn’t be too big or small:
But you can keep the learning rate fixed with the steps automatically getting small:
with 2 parameters:
Liner regression’s cost function is always bowl shape:
So there are no local optima but only one global optimum
- Machine Learning - Week 1
- Machine Learning -Week 1
- Machine Learning Week 1
- Machine Learning week 1 note
- Machine Learning Stanford (week 1)
- Machine Learning week 1 Octave Tutorial
- Machine Learning week 1 Programming Excercise
- Machine Learning week 1 note cont.
- coursera Machine Learning Week 1学习笔记
- [Coursera][Stanford] Machine Learning Week 1 2
- Machine Learning--Andrew Ng--week 1
- Machine Learning week 1 quiz: Introduction
- Machine Learning week 1 quiz: Linear Algebra
- Coursera Machine Learning Note - Week 1
- Machine Learning Notebook - Week 1 - Andrew Ng
- Machine Learning Notebook - Week 1 - Andrew Ng
- Machine Learning Notebook - Week 1 - Andrew Ng
- Machine Learning Notebook - Week 1 - Andrew Ng
- hdu5475 An easy problem
- NIOS II IDE编译出错:no file name for '-include'。Quartus ii中的.tcl文件run不起来
- 运动控制第一章
- bzoj2005
- Android必备的Java知识点
- Machine Learning Week 1
- 第十一周第二天
- 压力测试
- linux curl 命令详解,以及实例
- C++指针详解
- C++ do...while(0) do...while(false)的妙用
- 靶形数独
- Android性能专项测试之Batterystats
- 小球间完全弹性斜碰(赋Python代码)