監督式學習

認識 Machine Learning

Hadrien Lacroix

Content Developer at DataCamp

建模

模特兒(真人)

認識 Machine Learning

類型

監督式與非監督式是機器學習的子類別

認識 Machine Learning

什麼是監督式學習?

監督式學習已標示

認識 Machine Learning

分類與迴歸

分類與迴歸是監督式學習的子類別

認識 Machine Learning

分類

分類已標示

認識 Machine Learning

分類

  • 分類=指派一個類別
    • 這位顧客會停用訂閱嗎?
      • Yes, No
    • 這顆痣是惡性嗎?
      • Yes, No
    • 這是什麼葡萄酒
      • Red, White, Rosé
    • 這是什麼
      • Rose, Tulip, Carnation, Lily
認識 Machine Learning

觀測值

大學樣本觀測

認識 Machine Learning

特徵

特徵

認識 Machine Learning

目標

目標

認識 Machine Learning

資料視覺化

完整資料

認識 Machine Learning

資料切分

訓練資料

認識 Machine Learning

手動分類器

手動分類器

認識 Machine Learning

支援向量機-線性分類器

線性分類

認識 Machine Learning

支援向量機-多項式分類器

多項式分類器

認識 Machine Learning

迴歸

迴歸已標示

認識 Machine Learning

迴歸

  • 迴歸=預測連續變數
    • 這支股票將值多少
    • 這顆系外行星的質量是多少?
    • 這名孩童長大後會有多
認識 Machine Learning

預測氣溫

天氣資料表

認識 Machine Learning

訓練資料

天氣訓練資料

認識 Machine Learning

線性迴歸

資料上的迴歸線

認識 Machine Learning

模型

模型

認識 Machine Learning

給定濕度…

已知濕度,用直線找溫度(垂直箭頭)

認識 Machine Learning

…求出溫度

用直線找溫度(水平箭頭)

認識 Machine Learning

測試資料

測試資料

認識 Machine Learning

分類 vs 迴歸

  • 迴歸=連續
    • 在有限(height)或無限(time)區間內的任意值
      • 20°F, 20.1°F, 20.01°F...
  • 分類=類別
    • 少數幾個特定值之一
      • Cold, Mild, Hot
認識 Machine Learning

一起來練習吧!

認識 Machine Learning

Preparing Video For Download...