csinva / imodels

Interpretable ML package 🔍 for concise, transparent, and accurate predictive modeling (sklearn-compatible).
https://csinva.io/imodels
MIT License
1.34k stars 119 forks source link

Dicretizers Throw Errors #206

Open mattyshen opened 1 month ago

mattyshen commented 1 month ago

When using the discretizers (RFDiscritizer and BasicDiscretizer, although I suspect all discretizers), ._transform_postprocessing(discretized_df, X) throws an error like: "ValueError: Shape of passedvalues is (1338, 1), indices imply (1338, 3)"