Regression Part 2: Machine Learning
Regression Part 2: Machine Learning
MACHINE LEARNING
CONTENT
SVR
Decision tree
Random forest
SUPPORT VECTOR REGRESSION
SVR
1- upper bound
2- lower bound
3- margin
NOTES
Each tree will predict a value, the output value will be the average of all the predicted values of all the
trees.
WHAT MAKES RANDOM FOREST SO SPECIAL
Random forest is much more stable than the others, for example: if we want to predict the salary of a
random job in the united states, there are some millionaires that may represent only 0.1% of the
people and some poor that may represent only 2% of the people, so the random forest would not be
affected by them, but other models would.
RANDOM FOREST WITH PYTHON
The n_estimators are the number of trees you want to create for the model.