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 set–learning algorithm–>h(hypothesis)
After that, we use this h to predict y with x
4.Cost Function
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:
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.
本文介绍了机器学习的基本概念,包括监督学习与非监督学习的区别,以及模型表示、代价函数和梯度下降等核心主题。通过定义任务T、性能度量P及经验E,明确了机器学习的目标与实现方式。
375

被折叠的 条评论
为什么被折叠?



