logo
Loading...

HW21 ANS疑問 - Cupoy

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

ml100-2,ml100-2-d21

HW21 ANS疑問

2019/05/11 00:30 上午
機器學習共學討論版
Richard
觀看數:6
回答數: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.