We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
model_diagnostics
For XGBoost models the data is usually of type matrix. In such cases model_diagnostics gives a WARNING due to
data
results$y <- explainer$y
The $ works for data.frames. Replace with cbind is possible.
$
cbind
The text was updated successfully, but these errors were encountered:
potential fix for #355
e6fed31
[R] fix model_diagnostics with matrix data (#356)
920398c
* potential fix for #355 * result as data.frame * do the same but smarter * Update DESCRIPTION
Successfully merging a pull request may close this issue.
For XGBoost models the
data
is usually of type matrix.In such cases
model_diagnostics
gives a WARNING due toThe
$
works for data.frames.Replace with
cbind
is possible.The text was updated successfully, but these errors were encountered: