in lime_tabular, the input argument feature_names
cannot be None
#801
Labels
bug
Something isn't working
feature_names
cannot be None
#801
in lime_tabular,
None
is set as a default value for the input argumentfeature_names
, see here. Later, the variableself.num_features
is calculated aslen(feature_names)
which does not work on NoneType data, see here. Note in lime,self.num_features
is not optional.The same issue for the input argument
class_names
with the default valueNone
.For both input arguments, the default values should not be
None
or theNone
case should be handled inside the function.The text was updated successfully, but these errors were encountered: