ทำความเข้าใจปัญหา

การแข่งขัน Kaggle ด้วย Python

Yauhen Babakhin

Kaggle Grandmaster

ขั้นตอนการแก้ปัญหา

 

 

solution workflow

การแข่งขัน Kaggle ด้วย Python

ขั้นตอนการแก้ปัญหา

 

 

solution workflow

การแข่งขัน Kaggle ด้วย Python

ขั้นตอนการแก้ปัญหา

 

 

solution workflow

การแข่งขัน Kaggle ด้วย Python

ขั้นตอนการแก้ปัญหา

 

 

solution workflow

การแข่งขัน Kaggle ด้วย Python

ทำความเข้าใจปัญหา

  • ประเภทข้อมูล: ข้อมูลตาราง, อนุกรมเวลา, รูปภาพ, ข้อความ ฯลฯ

data types

การแข่งขัน Kaggle ด้วย Python

ทำความเข้าใจปัญหา

  • ประเภทข้อมูล: ข้อมูลตาราง, อนุกรมเวลา, รูปภาพ, ข้อความ ฯลฯ

data types

การแข่งขัน Kaggle ด้วย Python

ทำความเข้าใจปัญหา

  • ประเภทข้อมูล: ข้อมูลตาราง, อนุกรมเวลา, รูปภาพ, ข้อความ ฯลฯ

data types

การแข่งขัน Kaggle ด้วย Python

ทำความเข้าใจปัญหา

  • ประเภทข้อมูล: ข้อมูลตาราง, อนุกรมเวลา, รูปภาพ, ข้อความ ฯลฯ

data types

  • ประเภทปัญหา: การจำแนกประเภท, การถดถอย, การจัดอันดับ ฯลฯ
  • เมตริกประเมินผล: ROC AUC, F1-Score, MAE, MSE ฯลฯ
การแข่งขัน Kaggle ด้วย Python

นิยามเมตริก

# Some classification and regression metrics
from sklearn.metrics import roc_auc_score, f1_score, mean_squared_error

$$RMSLE = \sqrt{\frac{1}{N}\sum_{i=1}^{N}{(\log(y_i+1) - \log(\hat{y}_i+1))^2}}$$

import numpy as np

def rmsle(y_true, y_pred):
    diffs = np.log(y_true + 1) - np.log(y_pred + 1)
    squares = np.power(diffs, 2)

err = np.sqrt(np.mean(squares)) return err
การแข่งขัน Kaggle ด้วย Python

มาฝึกกันเถอะ!

การแข่งขัน Kaggle ด้วย Python

Preparing Video For Download...