RandomForestRegressor的執行過程
2020/04/01 00:13 下午
機器學習共學討論版
江柏勳
觀看數:7
回答數:3
收藏數:0
1.
estimator = RandomForestRegressor()
estimator.fit(df.values, train_Y)
feats = pd.Series(data=estimator.feature_importances_, index=df.columns)
雖然有解釋,但還是有點不懂(可以說明一下執行的過程嗎),特別是estimator跑出來長甚麼樣子
2.<itertools.compress object at 0x00000209628E1348>
順帶一提,這種東西要怎麼顯示出來?