SelfExplainML / PiML-Toolbox

PiML (Python Interpretable Machine Learning) toolbox for model development & diagnostics
https://selfexplainml.github.io/PiML-Toolbox
Apache License 2.0
912 stars 109 forks source link

Error with training classification models #23

Closed xloffree closed 1 year ago

xloffree commented 1 year ago

Hi, When training classification models, I get the following error:

UnboundLocalError Traceback (most recent call last) File piml/dashboard/model_panel.py:419, in piml.dashboard.model_panel.ModelTrainingPanel.train_register_panel.train_data_f()

UnboundLocalError: local variable 'df' referenced before assignment

Do you know how to fix this?

Thank you

ZebinYang commented 1 year ago

Can you provide a reproducible notebook or code snapshot?

xloffree commented 1 year ago

Seems to be working now. I will reach out if I run into it again. Thanks