logo
Loading...

交叉驗證執行的結果 - Cupoy

# 製作新特徵看效果df['Add_char'] = (df[high_feature[0]]+df...

ml100-2,ml100-2-d29

交叉驗證執行的結果

2019/10/05 08:52 AM
機器學習新手論壇
sychen
觀看數:0
回答數:2
收藏數:0
ml100-2
ml100-2-d29

# 製作新特徵看效果

df['Add_char'] = (df[high_feature[0]]+df[high_feature[1]]) / 2

df['Multi_char'] = df[high_feature[0]] * df[high_feature[1]]

df['01_div1p'] = df[high_feature[0]] / (df[high_feature[1]]+1) * 2

df['10_div1p'] = df[high_feature[1]] / (df[high_feature[0]]+1) * 2

train_X = MMEncoder.fit_transform(df)

cross_val_score(estimator, train_X, train_Y, cv=5).mean()


想請問這個執行交叉驗證結果 單執行多次這行

為什麼結果會不同