Machine Learning Notes

Machine Learning Notes

this is the summary: courses of ML on cousera by Andrew Ng

1.What is Machine Learning?

**Definition:**A computer program is said to learn from experience E with respect to some tasks T and some performance measure P,if its performance on T,as measured by P,improves with experience E.
E:test data,learning process
P:the evaluation/summary of learning,prediction by this program is accuracy/correct or not.
T:The goal we want to achieve.

2.Classification

  • Supervised Learning
    Given the right/exact anwser for each example in the data.
    • Regresstion: estimate the relationships among variables with continuous output.
    • Classification: identify which category an example belongs to with discrete output.
  • Unsupervised Learning
    allow us to approach problems with little or no idea what our results should like.

3.Model Representation

a training setlearning algorithm–>h(hypothesis)
After that, we use this h to predict y with x

4.Cost Function

cost function formula equation
What you should always keep in mind is that function J is parametered by theta rather than x or y.

5.Gradient Descent

We have put forward the goal we are going to do: minimize the function J.
BUT how to achieve that?
There are two ways in linear regresstion.And now let’t introduce the first one: Gradient Descent
algorithm:
Gradient Descent algorithm
Attention: At each iteration,one should simutaneouly updata the parameters theta.
Batch gradient descent: this method looks at every example in the entire training set on every step.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值