kaggle intermediate machine learning筆記

1、缺乏值的處理方法 1.刪除缺乏值的列web # 獲取缺值的列名 cols_with_missing = [col for col in X_train.columns if X_train[col].isnull().any()] # 從數據集刪除缺值的列 reduced_X_train = X_train.drop(cols_with_missin
相關文章
相關標籤/搜索