1.2 线性模型
通常一个模型的修改,往往来自于对这个问题的理解,即领域知识。
把输入的特征 x 乘上一个权重,再加上一个偏置就得到预测的结果,这样的模型称为线性模型(linear model)
1.2.1 分段线性曲线
显然线性模型有很大的限制,这一种来自于模型的限制称为模型的偏差,无法模拟真实的情况。
红色线,即分段线性曲线(piecewise linear curve)可以看作是一个常数,再加上一堆蓝色的函数
构建红色曲线
//想起电路理论中的单位阶跃函数和闸门函数
如果和的关系是连续曲线,只要有足够的蓝色函数把它加起来,分段曲线可以逼近任何连续曲线
如何表现蓝色函数?
Sigmoid 函数表达式:
使用 Sigmoid 逼近 Hard Sigmoid
使用 Hard Sigmoid 来合成红色函数
use linear algebra to represent
// and second are vectors
use vector to represent all unknown parameters
how to find ?
update and epoch
Sigmoid -> ReLU (Rectified linear Unit)
another way to improve performance, add layers
it's called Neural Network, and it's newer name is Deep Learning
Deep vs. Fat, talk about this later
overfitting can result from too much layers
after class thinking
Mr. Lee is quite humorous than most of my teachers in HUST I will continue to watch his ML course videos
I can imagine the shock that Neural Network could bring to people in the last century
also, for AlexNet, see Li Mu's introduction video and [[../../../read AI papers with Li Mu/read AI papers with Li Mu catalog|my local notes]]