If you are not familiar with Decision Trees, please read this article first.
First let’s look at a very simple example on the Iris data-
Now let’s look at slightly more complex data-
Let’s first build a logistic regression model in Python using machine learning library Scikit. Please read here about the dataset and dummy coding.
One thought on “Decision Tree using Python Scikit”
Pingback: Learn Python Step by Step | RP's Blog on data science