Answered step by step
Verified Expert Solution
Question
1 Approved Answer
base _ model = RandomForestClassifier ( n _ estimators = 1 0 , random _ state = 4 2 ) base _ model.fit ( X
basemodel RandomForestClassifiernestimators randomstate
basemodel.fitXtrain, ytrain
baseaccuracy evaluatebasemodel, Xtest, ytest why am getting this result and how to correct it Model Performance
Average Error: degrees.
Accuracy nan
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started