DataConversionWarning: Data with input dtype int64 was converted to float64 by MinMaxScaler.
[日期]:2018/04/21 [瀏覽人數]:947 執行出現: DataConversionWarning: Data with input dtype int64 was converted to float64 by MinMaxScaler. df轉入的資料全是整數,在轉normalize時會轉成float, 可以在轉入資料後,再轉為float df = = pd.read_csv("test.csv") msk = np.random.rand(len(df)) < 0.8 可在x_tran轉入的指令更改為float msk = np.random.rand(len(df)) < 0.8
|