From 968d6cd3300493cba3f8e85d950d209a17e40d32 Mon Sep 17 00:00:00 2001 From: Marco Tulio Ribeiro Date: Thu, 13 Jul 2017 14:18:38 -0300 Subject: [PATCH] fixed bug with predict proba, version --- lime/explanation.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lime/explanation.py b/lime/explanation.py index d4f04bbf..383a168d 100644 --- a/lime/explanation.py +++ b/lime/explanation.py @@ -252,7 +252,7 @@ def jsonize(x): ''' % random_id predict_proba_js = '' - if self.mode == "classifiction" and predict_proba: + if self.mode == "classification" and predict_proba: predict_proba_js = u''' var pp_div = top_div.append('div') .classed('lime predict_proba', true); diff --git a/setup.py b/setup.py index 5a4be5cb..1e029370 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='lime', - version='0.1.1.22', + version='0.1.1.23', description='Local Interpretable Model-Agnostic Explanations for machine learning classifiers', url='http://github.com/marcotcr/lime', author='Marco Tulio Ribeiro',