Machine Learning - Day2 - Deep Learning Intro

Edible Instruction

  1. Too many formulations and equations, so screen shots of PPT is necessary.
  2. My mathematics sucks, so you 'll see many mathematical knowledge interspersed in my all ML learning session.
  3. Don’t be afraid of any mathematical symbol, just BAIDU the definition.

linear models are too simple

We need more sophisticated models. (Red curve, but we can’t use linear model to create the shape of red curve)
Linear model have severe limitation. We need a more flexible model!

在这里插入图片描述
Red curve = constant (常数)+ sum of a set of threshold(阈值)
0 + 1 + 2 + 3 = Red curve
在这里插入图片描述

All Piecewise Linear Curves

= constant + sum of a set of threshold

More pieces require more threshold
在这里插入图片描述

Beyond Piecewise Linear?

To have good approximation, we need sufficient pieces.
在这里插入图片描述
How to represent this function?

Sigmoid function, refer to CSDN Article Baidu Article

Nature Exponential e (2.71828182845904523536) Baidu Article
c = constant

在这里插入图片描述
在这里插入图片描述
b, w and c are unknown parameters
在这里插入图片描述

We got the new model: More features

在这里插入图片描述
j: 1,2,3 means the number of features
X 1 X_1 X1 : viewers from the previous day
X 2 X_2 X2: viewer from two days ago
X 3 X_3 X3: viewer from three days ago

i: each blue function

r 1 r_1 r1, r 2 r_2 r2, r 3 r_3 r3: the results of
在这里插入图片描述

在这里插入图片描述

r is vector (What’s vector? Article)
W is matrix(What’s matrix? Article)
How to calculate matrix and vector? Article

在这里插入图片描述
在这里插入图片描述

C T C^T CT T is transpose (Article)

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
Function with unknown parameters
在这里插入图片描述
Back to ML framework

Step1 completed
在这里插入图片描述
Move to Step2 and Step3

θ called theta, means all unknown parameters in here.
∇ \nabla : called nabla,

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
epoch: see all the batches once
update: iteration
在这里插入图片描述

在这里插入图片描述

More variety of models …

在这里插入图片描述

Activation function (The best interpretation Article)

在这里插入图片描述
在这里插入图片描述

Even more variety of models …

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

Neural Network

在这里插入图片描述

Overfitting

Overfitting Article

在这里插入图片描述

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值