asiddiq:

print(confusion_matrix(y_test,pred_dt))
print(classification_report(y_test,pred_dt))


Using pred_dt_tr and y_train
This forum is generally about Tensorflow but you are using sklearn so I suggest you to use sklearn support channel for sklearn code/projects.
I don’t know your specific learning goal and dataset but in TF you can try to explore:

  
      

      blog.tensorflow.org
  

  
    

Introducing TensorFlow Decision Forests 4

  TensorFlow Decision Forests is a collection of Decision Forest algorithms for classification, regression and ranking tasks, with the flexibility and c