Skip to content Skip to sidebar Skip to footer
Showing posts with the label Decision Tree

Find All Binary Splits Of A Nominal Attribute

Question I'm trying to build a binary decision tree classifier in Python from scratch based on … Read more Find All Binary Splits Of A Nominal Attribute

How To Graph A Tree With Graphviz?

I can't reproduce a simple example. Here is how it goes: import pandas as pd import numpy as np… Read more How To Graph A Tree With Graphviz?

How Do I Get Feature Importances For Decision Tree Pipeline That Has Preprocessing And Classification Steps?

I'm trying to fit Decision Tree model on UCI Adult dataset. I built the following pipeline to d… Read more How Do I Get Feature Importances For Decision Tree Pipeline That Has Preprocessing And Classification Steps?