CS156 Machine Learning -1 The Learning Problem 笔记

大纲

1.PNG
2.PNG
3.PNG

example of machine learning

Predicting how a viewer will rate a movie

Movie rating - a solution

spectrum 范围
The essece of machine learning:编程

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

4.PNG

The learning approah

5.PNG

Components of learning

Metaphor(比喻): Credit approval
Applicant information:app

kind info
age 23 years
gender male
annual salary $30,000
years in residence 1 year
years in job 1 year
current debt $15,000
... ...

6.PNG
可认为这是一个d-维向量
其元素依次是 salary, years in residence, years in job, current debt...
7.PNG
y在这里仅表示 extend credit (1) & not to extend credit (-1)
8.PNG
It is a function from domain X,
X is a set of all input x (the set of vectors of d-dimention), it's a d-dimention Euclidean space(欧氏空间)
y : a binary co-demain
endeavors 尽力
9.PNG
f is unknown, but g is known, and we credit it
the value of g is supposed to approximates f
10.PNG
为何须要hypothesis setdom

  • no downside for including a hypothesis set in the formalization, but there is an upsideide

    • no downside:函数

      • no loss of generality in putting
    • upside:idea

      • the hypothesis set will play a pivotal role in the theory of learning, make the theory go through?

Solution components

11.PNG
quadratic programming 二次编程???
glorious 最好的,极好的
pinpoint 精确查找spa

A simple model

A simple hypothesis set - the `pereptron'

12.PNG
x1 salary, x2 years in residence, x3 years in job, x4 current debt ... xd ...
13.PNG
根据实际状况,分别给不一样的权重
视为credit score
threshold 临界值
14.PNG3d

15.PNG
16.PNG
we start with random weights that will give a random line
notation 符号,记法
17.PNG
引入 x0 = 1 能够化简表达式
18.PNGcode

A simple learning algorithm - PLA

19.PNG
20.PNG
经过这种方法,咱们尽量的使这些点被正确分类
21.PNG
只要是线性的,当迭代次数足够多后,总能所有分类正确
22.PNGcomponent

Types of learning

Basic premise of learning

premise 前提
underlying process 基本过程
23.PNG
24.PNG

Supervised Learning

25.PNG
vending 贩卖

Unsupervised Learning

27.PNG
26.PNG
28.PNG
虽然没办法知道具体类别,可是能够作出分类

Reinforcement Learning

29.PNG

a learning puzzle

30.PNG想这种样例少,为给出肯定函数的,实际上根据不一样规则是能够有不一样答案的

相关文章
相关标签/搜索