-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] KeyError on DataPreprocessing #160
Comments
Hi, |
I'm running the code in Google Colab, would a downloaded ipynb file be sufficient? |
The problem is that we do not have access to the data, since you load it locally from .csv. Or is it a publicly available dataset? |
Mambular_Experimentation.zip |
Thanks. The problem lies in the decision tree during ple preprocessing, since X_train[:,32] is a np.array of only zeroes. So either dropping that feature from training or using model = FTTransformerClassifier(numerical_preprocessing="standardization")
model.fit(X_train, y_train) could be a fast workaround for you. I will leave this issue open, such that we will include better error handling for situations like this. |
Much appreciated for the fix, thank you! |
Describe the bug
Currently trying to create a drug activity binary classification model. Dataset provided here:
Active
Inactive
Bug found when trying to fit the dataset to FTTransformerClassifier, MambularClassifier, MLPClassifier, and TabTransformerClassifier. Source of the bug is located in the preprocessing module.
To Reproduce
After installing the mambular module through pip, run the following code:
Error stack provided below:
Expected behavior
Normal model training, as this dataset works with other SKLearn models.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: