Feature engineering

แนวคิด MLOps

Folkert Stijnman

ML Engineer

Feature engineering

ขั้นตอน MLOps feature engineering

แนวคิด MLOps

Feature engineering

... คือกระบวนการคัดเลือก ปรับแต่ง และแปลงข้อมูลดิบให้กลายเป็น feature

  • Feature คือตัวแปร เช่น คอลัมน์ในตาราง
  • ใช้ข้อมูลดิบได้โดยตรง หรือสร้าง feature ใหม่เองก็ได้
แนวคิด MLOps

ข้อมูลลูกค้า

ตัวอย่างข้อมูลลูกค้า

แนวคิด MLOps

ข้อมูลลูกค้า

ตัวอย่างข้อมูลลูกค้าพร้อม feature ใหม่

แนวคิด MLOps

Feature engineering

  • เป้าหมายคือเพิ่มประสิทธิภาพของโมเดล
  • มีเครื่องมือและเทคนิคช่วยประมวลผล คัดเลือก และดูแล feature:
    • Feature selection
    • Feature store
    • Data version control
แนวคิด MLOps

Feature selection

  • ความรู้เฉพาะด้าน
  • Correlation
  • Feature importances
  • วิธีอื่น: univariate selection, Principal Component Analysis (PCA), Recursive Feature Elimination (RFE)

กราฟ correlation

1 https://www.datacamp.com/tutorial/tutorial-datails-on-correlation
แนวคิด MLOps

Feature store

Feature store

เหมาะสำหรับทีมขนาดใหญ่ที่ทำงานหลายโปรเจกต์และใช้ feature ชุดเดียวกัน

แนวคิด MLOps

Data version control

  • ติดตามการเปลี่ยนแปลงของชุดข้อมูล
  • รักษาความสอดคล้องตลอด lifecycle การพัฒนา

ภาพแสดง data version control และ git

1 https://www.datacamp.com/courses/cicd-for-machine-learning
แนวคิด MLOps

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

แนวคิด MLOps

Preparing Video For Download...