Reputation: 3
Trying to get the top 3 columns from my h2o GBM model using lime which has the highest significance in model prediction.
Upvotes: 0
Views: 1145
Reputation: 71
There is no out-of-the-box solution yet in open source h2o-3, but there are many examples of how to do this available. Here are the repos/notebooks:
https://github.com/jphall663/interpretable_machine_learning_with_python / https://github.com/jphall663/interpretable_machine_learning_with_python/blob/master/lime.ipynb
https://github.com/h2oai/mli-resources / https://github.com/h2oai/mli-resources/blob/master/notebooks/lime.ipynb
https://content.oreilly.com/oriole/Interpretable-machine-learning-with-Python-XGBoost-and-H2O / https://content.oreilly.com/oriole/Interpretable-machine-learning-with-Python-XGBoost-and-H2O/blob/master/lime.ipynb
There is also some chance Marco Tulio's original LIME package will work: https://github.com/marcotcr/lime, be sure to look into this example: https://marcotcr.github.io/lime/tutorials/Tutorial_H2O_continuous_and_cat.html
Upvotes: 1