fastshap
fastshap copied to clipboard
Update explain.R
updated to work with lightgbm package version 3.3.5
Thanks @p-schaefer, is there any issue in this PR with versions 3.3.2-3.35?
I'm sorry, I'm not sure. I didn't test it. All I know is that phis <- stats::predict(object, X, type = "contrib", ...)
is correct for lightgbm version 3.3.5