Spaces:
Sleeping
Sleeping
Commit ·
e574555
1
Parent(s): 607473c
Oracle
Browse files511 unmodified lines512513514515515516517518519520511 unmodified lines # Split data into train/test sets X_train, X_test, y_train_log, y_test_log = train_test_split(X, y_log, test_size=0.2, random_state=42)
pipeline = Pipeline(["rf", RandomForestRegressor(random_state=42)]) pipeline = Pipeline([ ("rf", RandomForestRegressor(random_state=42)) ]) # Hyperparameter tuning using GridSearchCV param_dist = { "rf__n_estimators": [100, 300, 500, 800, 1000],Oracle/deepfundingoracle.py+3-1