Machine Learning by Andrew Ng - 1.4

Model Representation

In supervised learning, we have a data set and this data set is called a training set. The algorithm will learn from this data set and find pattern.

Training Set Of Housing Prices (Portland, OR).png

Notation:

  • m = Number of training examples; 训练样本的数目
  • x's = 'input' variables / features; 特征量
  • y's = 'output' variables / 'target' variables; 目标变量
    (x, y) : one training example; 一个训练样本
    ( x (i), y (i)) : ith training example; i不是指数,而是指第i行的样本

How supervised learning algorithm works

image.png
  1. Feed training set to learning algorithm.
  2. Learning algorithm output a function h(hypothesis).
  3. The function hypothesis takes in the value of x and tries to output the estimated value y.
  • h is a function that maps from x's to y's.

Univariate linear regression : 一元线性回归
(Univeriate is a fancy way of saying one variable)
In this case, x is the only variable.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 很多人都听过这样的话,比如“学习是一辈子的事”“成为终身学习者”“活到老,学到老”,还有很多此类的话,我个人是非常...
    帆说凡语阅读 278评论 0 0
  • 来条裙子 第一次拥有裙子是在6、7岁的时候,记得那次是难得的集市,我能跟着我妈去赶集,对于小孩子来说,一条花花绿绿...
    王秀燕阅读 214评论 0 0
  • 前言 因为公司项目中引入私有库很久了,一直想写一篇关于创建私有库的步骤总结。这几天正好比较闲,在同事Barthol...
    想开面包店的J先生阅读 1,618评论 6 7
  • 3、权利之争 父母和子女的权力之争正以惊人的速度增加,因为社会的民主氛围越来越浓。当我们观察孩子的动机,会发现大部...
    张静ai小诺阅读 502评论 0 0