sparse matrix as input #473
Unanswered
caroheymes
asked this question in
Q&A
Replies: 1 comment
-
|
Hi, Using the preprocessing argument, the geographic column should be on one column. You can try this: If you still have an error, can you send the error message? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am completely new to the subject.
I have a very large dataset with a strong class imbalance (Class 1 < 1%)
After one hot encoding, I have 15,000 geographical location categories.
Naturally, the kernel crashes with the following code:
xpl = SmartExplainer(
preprocessing=enc_columntransfo,
model=model,
backend='acv',
data=X_train.toarray(),
)
I am unsure how to deal with csr matrix neither how to implement shap.kmeans.
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions