Skip to content

Commit

Permalink
minor fix to regression explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotcr committed Dec 22, 2017
1 parent 706647e commit f2f6b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lime/explanation.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def jsonize(x):
.classed('lime predicted_value', true);
var pp_svg = pp_div.append('svg').style('width', '100%%');
var pp = new lime.PredictedValue(pp_svg, %s, %s, %s);
''' % (jsonize(self.predicted_value),
''' % (jsonize(float(self.predicted_value)),
jsonize(float(self.min_value)),
jsonize(float(self.max_value)))

Expand Down

0 comments on commit f2f6b54

Please sign in to comment.