231k views
9 votes
Use a for loop to create a random forest model for each value of n estimators from 1 to 30;

• evaluate each model on both the training and validation sets using MAE;
• visualize the results by creating a plot of n estimators vs MAE for both the training and validation sets
After that you should answer the following questions:
• Which value of n estimators gives the best results?
• Explain how you decided that this value for n estimators gave the best results:
Why is the plot you created above not smooth?
• Was the result here better than the result of Part 1? Wha: % better or worse was it? in python


User Grimus
by
4.6k points

1 Answer

11 votes

Answer:

nvndknnnnnnngjf

Step-by-step explanation:

f4tyt5erfhhfr

User Kudayar Pirimbaev
by
4.8k points