logo
Loading...

HW21 ANS疑問 - Cupoy

df_fixed['Fare'] = stats.boxcox(df_fixed['Fare'], ...

ml100-2,ml100-2-d21

HW21 ANS疑問

2019/05/10 04:30 PM
機器學習新手論壇
Richard
觀看數:0
回答數:1
收藏數:0
ml100-2
ml100-2-d21

df_fixed['Fare'] = stats.boxcox(df_fixed['Fare'], lmbda=0.15)

df_fixed['Fare'] = stats.boxcox(df_fixed['Fare'])[0],為何第一行要刪除,第二行為何後面要加上[0],我試了很久,總是出現此error:Data must be positive.