01 Introduction of Machine/Deep Learning

Machine Learning ≈ Looking for Function

  • Speech Recognition : f(vocal.wav) = "text"
  • Image Recognition : f(animal.png) = "animal"
  • Playing Go : f(Current Situation) = "Next Move"

Different types of Functions

  • Regression : The function outputs a scalar .

    • Predict PM2.5 tomorrow
  • Classification : Given options (classes) , the function outputs the correct one.

    • Spam filtering
    • Playing Go
  • Structured Learning

    • create something with structure (image/document)

Progress

  1. Function with Unknown Parameters

    For example , You want to predict the views on your YouTube .

    Model(A Function with Unknown Parameter) : $$y = b + wx_1$$

  2. Define Loss form Training Data

    Loss is a function of parameters : $$L(b,w)$$

    Loss indicates how good a set of value is .

    image

    On this picture , red refers to large L ,blue refers to small L .

  3. Optimization

    $$ w^*,b^* = arg min L $$ Gradient Descent :

    image

    $$w^1=w^0 – \eta \left. \frac{\partial L}{\partial w} \right|_{w=w^0} \eta : learning rate (typerparameters)$$

    Attention : Global minima ≠ Local minima , but it does not matter!

    image

How to make Loss smaller?

To reduce the loss, one approach is to increase the dimensionality of the input data.

We can use a new Function : $$y = b + \sum_{j=1}^{7} w_j x_j$$.It receives the data from the previous seven days.

Linear models have severe limitation : Model Bias.We need a more flexable model!

image

All Piecewise Linear Curves can be fitted!

image

How to represent the blue function(Hard Sigmoid)?

image

image

image

image

image

image

image

image

image

image

Every time we renew the Parameters is called Update .

image

image

image

image

image

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇