Machine Learning - Day2 -ML Intro_1

文章目录

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.

What’s Machine Learning?

Machine Learning = Looking for function

What’s the function in math?
In mathematics, a function is a binary relation between two sets that associates to each element of the first set exactly one element of the second set.
Machine Learning - Day2 -ML Intro_1

The reality of scene:

Machine Learning - Day2 -ML Intro_1

Different Types Of Functions

Regression

Regression : The function outputs a scalar

Machine Learning - Day2 -ML Intro_1

Classification

Classification: Given options(classes), the function outputs the correct one.

Machine Learning - Day2 -ML Intro_1
So Alpha Go is a classification function, 19X19 classes to output a position
Machine Learning - Day2 -ML Intro_1

Structured Learning

Structured Learning: Create something with structure( image, doctument, video)
Ask machine to create the things.

Example application

Reminder: the function of sample is a conjecture

Estimating the views of Youtube channel tomorrow, base on the history of views

Machine Learning - Day2 -ML Intro_1

  1. Function with unknown parameters
    Machine Learning - Day2 -ML Intro_1

  2. Define Loss from Training Data (Important!!!)

Loss is a function of parameters L(b,w), and comes from the Training DATA.
Loss: how good a set of values is.
So, if Loss value is large, the parameters are bad.

Suppose L(0.5k, 1)
Machine Learning - Day2 -ML Intro_1

Label : The true value is label!!!

Machine Learning - Day2 -ML Intro_1

∑ \sum ∑ : Sum things up (called Sigma)
Refer to Article


Machine Learning - Day2 -ML Intro_1

Sum all e n e_n en​ up

Machine Learning - Day2 -ML Intro_1
Choose MAE to calculate on the PPT, and MSE on the homework
Machine Learning - Day2 -ML Intro_1

probability distribution (概率分布)
Cross entropy (交叉熵)

Machine Learning - Day2 -ML Intro_1
The graph of true data
Machine Learning - Day2 -ML Intro_1
3. Optimization
Machine Learning - Day2 -ML Intro_1

arg min f(x) : the value of x when f(x) have the minimum value. arg =
argument, arg min: the argument of the minimum of target function

Gradient Descent:

What’s Gradient Descent?
Please refer to Article and Video

Postulate we only have one unknown parameter
Machine Learning - Day2 -ML Intro_1

Pick an initial value W 0 W^0 W0 (Blind guess here)

Differential coefficient(微分), please refer to 知乎acticle
and Differential Equations Solution Guide

Machine Learning - Day2 -ML Intro_1

Learning rate : η \eta η

Machine Learning - Day2 -ML Intro_1

Update

上一篇:ftp 服务器搭建


下一篇:记录 | what can i learn from the lessons