開始使用免費開始

模型參數 vs. 超參數

為了進行超參數調校,你必須真正了解什麼是超參數(以及什麼不是)。因此,我們來詳細比較一下模型參數與超參數

注意:Breast Cancer Wisconsin(Diagnostic)資料集已經載入為 breast_cancer_data

本練習屬於課程

R 的超參數調校

檢視課程

練習說明

  • 使用這個資料集擬合一個以 concavity_mean 為應變數、symmetry_mean 為自變數的線性模型
  • 檢視此線性模型的 summary()
  • 擷取迴歸係數

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Fit a linear model on the breast_cancer_data.
linear_model <- ___(___)

# Look at the summary of the linear_model.
___

# Extract the coefficients.
___
編輯並執行程式碼