We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691d98d commit 062e046Copy full SHA for 062e046
1 file changed
machine_learning/forecasting/run.py
@@ -94,7 +94,7 @@ def random_forest_regressor(x_train: list, x_test: list, train_user: list) -> fl
94
output : list of total user prediction in float
95
96
>>> random_forest_regressor([[5,2],[1,5],[6,2]], [[3,2]], [2,1,4])
97
- 2.3333333333333335
+ 1.95
98
"""
99
model = RandomForestRegressor(n_estimators=100, random_state=42)
100
model.fit(x_train, train_user)
0 commit comments