Skip to content

Commit 062e046

Browse files
Update run.py
1 parent 691d98d commit 062e046

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • machine_learning/forecasting

machine_learning/forecasting/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def random_forest_regressor(x_train: list, x_test: list, train_user: list) -> fl
9494
output : list of total user prediction in float
9595
9696
>>> random_forest_regressor([[5,2],[1,5],[6,2]], [[3,2]], [2,1,4])
97-
2.3333333333333335
97+
1.95
9898
"""
9999
model = RandomForestRegressor(n_estimators=100, random_state=42)
100100
model.fit(x_train, train_user)

0 commit comments

Comments
 (0)