Decision Trees and Random Forest

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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store