I have a small dataset with 297 sample, before using SHAP technique you must have a fitted model, can I fit my model on whole dataset and use it for SHAP technique? I don't want split my dataset to train and test sets because the dataset is small and I want SHAP values for all samples.

Is it logical to do this?

Thank you

  • $\begingroup$ depends on what you want to use the shap values for $\endgroup$
    – oW_
    Nov 25, 2022 at 17:25


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.