1. Learn
  2. /
  3. คอร์ส
  4. /
  5. Machine Learning ใน Tidyverse

Connected

แบบฝึกหัด

เพิ่มค่าที่ฟิตแล้วให้กับแต่ละโมเดล

ในแบบฝึกหัดนี้ คุณจะเตรียมโมเดลที่ฟิตดีที่สุดและแย่ที่สุดสี่โมเดลสำหรับการสำรวจเพิ่มเติม โดยใช้ augment() เพื่อเพิ่มข้อมูลเข้าไปในโมเดล

คำแนะนำ

100 XP
  • สร้าง data frame ชื่อ best_augmented โดยสร้าง augmented data frames แล้ว simplify ด้วย unnest() จาก data frame best_fit
  • สร้าง data frame ชื่อ worst_augmented โดยสร้าง augmented data frames แล้ว simplify ด้วย unnest() จาก data frame worst_fit