เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

What are we predicting?

Which of these fields (or columns) is the value we are trying to predict for?

  • TAXES
  • SALESCLOSEPRICE
  • DAYSONMARKET
  • LISTPRICE

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Feature Engineering with PySpark

ดูคอร์ส

คำแนะนำการฝึกหัด

  • From the listed columns above, identify which one we will use as our dependent variable $Y$.
  • Using the loaded data set df, filter it down to our dependent variable with select(). Store this dataframe in the variable Y_df.
  • Display summary statistics for the dependent variable using describe() on Y_df and calling show() to display it.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Select our dependent variable
Y_df = df.____([____])

# Display summary statistics
Y_df.____().____()
แก้ไขและรันโค้ด