Question: base _ model = RandomForestClassifier ( n _ estimators = 1 0 , random _ state = 4 2 ) base _ model.fit ( X

base_model = RandomForestClassifier(n_estimators =10, random_state =42)
base_model.fit(X_train, y_train)
base_accuracy = evaluate(base_model, X_test, y_test) why am getting this result and how to correct it Model Performance
Average Error: 0.5794 degrees.
Accuracy = nan%.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!