Learning From Data Note 1

周末上了一节 Yaser网上公开课,教授的发音虽然有点奇怪,但是为人风趣,循循善诱,课程内容也是深入浅出,既有干货又不至于太过枯燥乏味。看完之后记了一点笔记,记录于此,希望自己能学完这套课程。(因为是英文课程,就直接记英文了,也算练习下英文)

The Learning Problem

The essence of machine learning (three components)

  • A pattern exists
  • We cannot pin it down mathematically
  • We have data on it

Formalization

  • Intput: x

  • Output: y

  • Target function: f : X -> Y

  • Data: (x1 y1), (x2, y2), ... , (xn, yn) (historical records)

  • Hypothesis: g : X -> Y (final hypothesis is the trained model, g is close to f)

Learning Model

learning model = hypothesis set + learning algorithm

How does it work

learning-paradigm.png

Perceptron Learning Algorithm (PLA)

  • The perception implements: h(X) = sign(w * x)
  • Given the training data: (x1, y1), (x2, y2), ... , (xn, yn)
  • pick a misclassified point: sign(W * Xn) != yn
  • and update the weight vector: w <- w + xn * yn (yn = (-1, 1), so w <- w +/- xn)

Types of learning

Basic premise of learning

"using a set of observations to uncover an underlying process" -- broad premise that be applied in many disciplines

  • Supervised learning: See above
  • Unsupervised learning: Instead of (input, correct output), we get (input, ?). Cluster is one of them.
  • Reinforcement learning: Instead of (input, correct output), we get (input, some output, grade for this output). It does not give you the output directly, but when you choose an output, it will tell you how well you're doing. It is interesting because it is mostly our own experience in learning. The most important application of reinforcement learning is in playing games. (like Alpha Go?)

A Learning puzzle

The target function is unknown, it could be anything.
We have a finite sample, it can be anything outside.

Finally

I'm new in machine learning and my English is not good enough. So please talk to me if there are any mistakes.

推荐阅读更多精彩内容

  • 许久没有写一点东西。 前几日温度低,竟像是到了深秋。近几日又暖和起来了。 依旧每天天不亮起床,然后在教室里昏昏欲睡...
    慕羊阅读 153评论 0 1
  • 今天不知道写些什么。虽然每天都有听书,但是听别人讲和自己读真的感觉不一样。而且从1号到今天,得到里面的书主题全是企...
    颖公子6阅读 116评论 1 1
  • 爱丽丝第二次中毒之后,很长一段时间,对所有的小动物们都失去了兴趣,特别是对耗子。很多时候,就算是王豫超拿着一只唧唧...
    清水茶媛阅读 532评论 0 0
  • 虽然我们都在讲究团圆,喊口号说有钱没钱回家过年的空话,不过对于单身的我们而言,没带对象回家犹如一次灾难,破坏安宁祥...
    遗弃小屋阅读 159评论 0 0