Decision Tree in Python using Machine learning

following code in python uses scikit learning library to train and test dataset for Decision tree classification

packages:

  1. pandas
  2. numpy
  3. scikit learn(sklearn)

Music Genre Dataset

Dataset includes

  1. age
  2. gender
  3. genre

model

the model try to predict genre on the basis of gender and age