Machine Learning - �Basic Principles & Practice�5. From Lazy Learning to �Eager Learning
Cong Li 李聪
机器学习 - 基础原理与实践
5. 从临阵磨枪到积极学习
Lazy Learning 临阵磨枪
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Lazy Learning Characteristics�临阵磨枪的特点
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Eager Learning 积极学习
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Explicit Knowledge 显式的知识
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
2D Example 二维的示例
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Attribute 1
属性1
Attribute 2 属性2
(-2,1)
2D Example 二维的示例
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Attribute 1
属性1
Attribute 2 属性2
(-2,1)
(0.5,1.5)
Linear Classifier 线性分类器
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Biological View 生物学的视角
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Neuron 神经细胞
Dendrites: receiving incoming signals
树突:接收外来信号
Nucleus: processing signals
细胞核:信号处理
Axon: sending outgoing signals
突触:对外发送信号
Linear Classifier as a Neuron�作为神经细胞的线性分类器
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
?
How to Learn? 怎么学?
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Perceptron Algorithm�感知器算法
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Batch Learning 批量学习
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Practice 5.1 实践5.1
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Practice time: use perceptron on the 1-attribute & 2-attribute synthetic problems
实践时刻:将感知器用于一个属性和两个属性的人造问题
Compare the results w/ those from nearest neighbor
和最近邻的结果进行比较
Result 结果
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Perceptron performs stably, but why?
感知器表现得很稳定,这是为什么?
Do You Still Remember?�你还记得吗?
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
No assumption, no learning!
无假设,不学习!
Now where is the assumption?
那么假设在哪里?
Assumption 假设
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Synthetic Problem 人造问题
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Assumption Holds 假设成立
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Multi-class Linear Classifier �多类线性分类器
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
One vs. Rest 一对其余
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Classifier
分类器
One vs. Rest 一对其余
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Classifier
分类器
One vs. Rest 一对其余
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Classifier
分类器
Compete w/ the Score 比较得分
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Classifier
分类器
Classifier
分类器
Classifier
分类器
Data 数据
Compete 比较
Practice 5.2 实践5.2
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Practice time: use perceptron on word sense disambiguation
实践时刻:将感知器用于词义消歧
Compare the results w/ those from nearest neighbor
和最近邻的结果进行比较
Result 结果
Machine Learning – Basic Principles & Practice: 5. From Lazy Learning to Eager Learning
机器学习 – 基础原理与实践:5. 从临阵磨枪到积极学习
Perceptron improves the accuracy a lot
感知器大幅提升了准确率
The End