Machine Learning Week One

Keep updating
This passage summarize the knowledge in web
https://www.coursera.org/learn/machine-learning/
Supervised learning
In supervised learning, we are given a data set and already know what our correct output should look like, having the idea that there is a relationship between the input and the output.
Supervised learning problems are categorized into “regression” and “classification” problems.
regression problem
map input variables to some continuous function
classification problem
map input variables into discrete categories

Unsupervised learning
Unsupervised learning allows us to approach problems with little or no idea what our results should look like. We can derive structure from data where we don’t necessarily know the effect of the variables.

notation
x(i) denotes the i th input
y(i) denotes the i th output
A pair (x(i),y(i)) denotes a training example
m denotes the number of training examples
X denote the space of input values
Y denotes the space of output values
h(x) denote a function(predictor) that maps x to y

our goal is find the proper

θ0 and θ1
that satisfies
min(θ0,θ1)12mi=0m(hθ(x(i))y(i))2

Gradient Descent Algorithm

θj:=θjαθjJ(θ0,θ1,...,θj)

where
α
is the learning rate deciding the size of each step
and where
means partial derivative
we should simultaneously update theta0 and theta1 at each iteration.

Typically h(x) can be in the form of

hθ(x1,...,xi)=θ1x1+...+θixi+θ0

Batch Gradient Descend
The method looks at every example in the entire training set on every step.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值