Machine Learning Notebook - Week 1 - Andrew Ng

Intro to ML

  • Def of ML by Tom Mitchell:

A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E.

Supervised Learning

Give the algorithm a dataset which contains the right answers(labels), then:

  • Regression: teach the algorithm to predict a continuous value output.

Predict the housing price in function of house size

  • Classification : teach the algorithm to predict a category value output

Predict a linear function to classify the tumor

Supervised Learning

  • Clustering: Give the algorithm a dataset without knowing the labels, then teach the algorithm to cluster them and then given a new data, to predict which cluster it probably belongs to.

Clustering

eg: Google news clusters new stories about the same topics together.

  • Cocktail Party Algorithm
    Separate mixed audio source recording into individual voice.

Programming with Octave in Matlab :
[W,s,v]=svd((repmat(sum(x.*x,1),size(x,1),1).*x)*x');

Remark: With unsupervised learning there is no feedback based on the prediction results.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值