Random Forest Introduction
Random Forest is a versatile machine learning method capable of performing both regression and classification tasks. It also undertakes dimensional reduction methods, treats missing values, outlier values and other essential steps of data exploration, and does a fairly good job. It is a type of ensemble learning method, where a group of weak models combine to form a powerful model, read more about Random Forest .
This exercise is part of the course
Introduction to Python & Machine Learning (with Analytics Vidhya Hackathons)
Exercise instructions
- Import library sklearn.ensemble
- Create a object of RandomForestClassifier
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Import ensemble module from sklearn
import sklearn.______
# Create object of RandomForestClassifier
model=sklearn.ensemble.__________