logo
Loading...

為甚麼建立train_X時,需要在train_X後加入[:train_num],使得train_X = df_temp[:train_num],讓train_X.shape[0]=train_Y.shape[0]? - Cupoy

你好為甚麼建立train_X時,需要在train_X後加入[:train_num],        ...

ml100-2,ml100-2-d22

為甚麼建立train_X時,需要在train_X後加入[:train_num],使得train_X = df_temp[:train_num],讓train_X.shape[0]=train_Y.shape[0]?

2019/07/04 12:52 PM
機器學習新手論壇
ting
觀看數:0
回答數:2
收藏數:0
ml100-2
ml100-2-d22

你好

為甚麼建立train_X時,需要在train_X後加入[:train_num],                                               使得train_X = df_temp[:train_num],

讓train_X.shape[0]=train_Y.shape[0]?