期末大作業

boston房價預測 1. 讀取數據集 from sklearn.datasets import load_boston 2. 訓練集與測試集劃分 boston = load_boston() x = boston.data y = boston.target print(x.shape) print(y.shape) 3. 線性迴歸模型:建立13個變量與房價之間的預測模型,並檢測模型好壞。
相關文章
相關標籤/搜索