Decision Trees and Random Forest
What is Decision Tree?
Decision Tree is a supervised, non parametric machine learning algorithm. Used for both classification as well as regression problems.
It is a graphical representation of tree like structure with all possible solutions. It helps to reach a decision based on certain conditions.
# Maths behind Decision Trees
# Reading the data
# Details Information of the data
# Clean data
# Removing the NaN values by mean
# Define Entropy and Information gain
Entropy is measure of randomness