隨機森林分析共享單車的需求

隨機森林相關API:python import sklearn.ensemble as se # 隨機森林迴歸模型 (屬於集合算法的一種) # max_depth:決策樹最大深度10 # n_estimators:構建1000棵決策樹,訓練模型 # min_samples_split: 子表中最小樣本數 若小於這個數字,則再也不繼續向下拆分 model = se.RandomForestRegre
相關文章
相關標籤/搜索