拼命三娘冲(20191117补)_吴恩达课程笔记1

3.1 Machine learning
3.1.1-1.3 Machine learning definition
Spam/not spam
Arthur Samuel(1959). Machine learning: field of study that gives computers the ability to learn without being explicitly programmed.
Tom Mitchell(1998). Well-posed learning problem: a computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T as measured by P improves with experience E.

Supervised learning
Unsupervised learning
Reinforcement learning
Recommender system

3.1.4 Supervised learning
Example:
Regression problem: our goal is a continuous valued output, housing price prediction
Classification problem: the goal is to predict a discrete value output, breast cancer (malignant, benign)
The term supervised learning refers to the fact that we gave the algorithm a data set in which the “right answers” were given.

3.1.5 5Unsupervised learning
Clustering algorithm: google news, genes
Cocktail party problem
[W,s,v]=svd((repmat(sum(x.*x,1),size(x,1),1).*x)*x’)
Octave
We are given data they don’t have any labels, or no label. “here’s the dataset, can you find some structure of the data?”
Arrange large aggregations: organize large computer clusters (how to put machines together to make it more efficiently), social network analysis (identify the coherence of group), market segmentation (grouping customers into different market segments), astronomical data analysis (theories how galaxies occur)
3.2 Model representation
3.2.1 Linear regression
Housing prices (Portland, OR)
Training set—learning algorithm—h (hypothesis), function
Hypothesis
h_θ (x)=θ_0+θ_1 x
h(x)
Univariate linear regression (1 variable)
Notation
n Number of features
m Number of training examples
x’s Input variable/features
y’s Output variable/features
(x,y) One training example
(x^((i) ),y^((i) )) Ith training example (ith row)
x_j^((i)) Value of feature j in Ith training example (ith row)
h Maps from x to y
θ_i parameters

3.2.2-2.4 Cost function
J(θ_i)
Idea, choose θ_i so that h(

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值