Oege Dijk

Results 66 comments of Oege Dijk

sure: (also this is on a mac with python 3.8.5) ``` appdirs==1.4.4 appnope==0.1.0 argon2-cffi==20.1.0 async-generator==1.10 attrs==20.2.0 backcall==0.2.0 bleach==3.2.1 cffi==1.14.3 click==7.1.2 dash==1.17.0 dash-core-components==1.13.0 dash-html-components==1.1.1 dash-renderer==1.8.3 decorator==4.4.2 defusedxml==0.6.0 dill==0.3.3 distlib==0.3.1 Django==3.1.3 -e...

I thought about wipping something like this together, but then remembered to google first and found these libraries: The library lets you define variables that business rules can act on,...

So I made a quick demo here: https://github.com/oegedijk/rule_estimator It is a slightly different approach as the user would have to define classes instead of functions and then wrapping those functions...

This will reproduce the error (assuming you have `explainerdashboard` installed): ```python from explainerdashboard.datasets import titanic_survive from xgboost.sklearn import XGBClassifier from dtreeviz.trees import dtreeviz X_train, y_train, X_test, y_test = titanic_survive() model...

Could have something to do with plotting the tree with the test dataset instead of the training dataset maybe...

Hi @nilslacroix, This should be output of the `pipeline.get_feature_names_out()` method. I'm simply relying on the output of this method existing and giving meaningful feature names. Not all sklearn estimators have...

It would be nice to autodetect when feature names are due to an onehotencoding so that I can group them. Would take some work, but in principle should be possible...

Hmmm, I'm not sure the renaming columns functionality belongs in the explainerdashboard. I guess you could either just extract the transformer and model yourself (e.g.. `transformer, model = pipeline[:-1], pipeline[-1]`...

As for the `np.expm(y_test)` trick I don't think this would work? I'm assuming the X and y are from the same distribution as the model was fit on. So if...

> Hmm thinking about this, this might a bigger problem in general. If you want to have interpretable values in the dashboard you can not really scale then they will...