exp.show_in_notebook(show_table=True) renders poorly with a regression explanation
See original GitHub issueI’m not sure what I should see but the rendered output doesn’t look right. The screenshot is taken from my rendered public Notebook:
I’m flagging this as I believe the regression support in LIME is young, so maybe this rendering isn’t as expected?
The middle display (Negative/Positive) only shows 5 items and feels cramped. The explanation is generated using exp = explainer.explain_instance(example_to_explain, est.predict, num_features=10)
.
The Notebook is available here: https://github.com/ianozsvald/data_science_delivered/blob/master/ml_explain_regression_prediction.ipynb
watermark
reports the following versions (it might be worth setting a version string for lime
too):
CPython 3.6.2
IPython 6.1.0
numpy 1.13.1
matplotlib 2.0.2
sklearn 0.18.2
eli5 0.6.1
seaborn 0.8.0
lime n
yellowbrick 0.4.2
compiler : GCC 4.8.2 20140120 (Red Hat 4.8.2-15)
system : Linux
release : 4.9.8-040908-generic
machine : x86_64
processor : x86_64
CPU cores : 8
interpreter: 64bit
Git hash : d1099144f8b748e8e5aa43676f24bc8cba7204c9
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
lime package — lime 0.1 documentation
Will be ignored for regression explanations. Parameters: kwargs – keyword arguments, passed to domain_mapper. Returns: pyplot figure (barchart) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was having the same issue with firefox, but seems to render better with chrome.
I think #296 fixes this, let me know if it does not.