To my understanding, C4.5 comes with 4 improvements compared to ID3:

  1. Handling missing values in both training data and "test" data,
  2. Handling continuous data
  3. Handling costs on attributes.
  4. The pruning


However, not one of all decision tree python modules that I found, even the so-called C4.5, handles missing values.

Do you know of a library that handles them ? And it would be great if it can work with Pandas DataFrames "out-of-the-box"...

  • 1
    $\begingroup$ Have you considered using the H2O package in Python? $\endgroup$
    – grouphug
    Jan 6, 2020 at 3:25

1 Answer 1


I don't think there is a C4.5 implementation in a popular python library. Your options are :


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.