marcotcr / lime

Lime: Explaining the predictions of any machine learning classifier
BSD 2-Clause "Simplified" License
11.5k stars 1.79k forks source link

NoneType Object is not Iterable #580

Closed daw454 closed 3 years ago

daw454 commented 3 years ago

I'm trying to apply Recurrent Tabular Explainar from LIME, however, I keep on getting the output that NoneType is not iterable. This even persists for this simple minimal example:


from lime import lime_tabular

x_train = np.random.randint(0, 6249, size=(10, 6249,1))
yy_train = np.random.randint(0, 10, size=(10,1))

explainer = lime_tabular.RecurrentTabularExplainer(x_train, training_labels=yy_train)

Can you tell me what's wrong? Kind regards,

marcotcr commented 3 years ago

There was a bug, fixed in 38a3646