Comments (1)
Hi @Npaffen , yes, I believe you are correct. If you want to use a matrix, everything needs to be encoded numerically (e.g., like in an XGBoost model). If you have factors, you'll need to use a data frame.
from fastshap.
Related Issues (20)
- Is it valid to aggregate fastshap values to sets of features? HOT 2
- Fastshap with tree augmented naive bayes of caret (tan) HOT 7
- Approximate method with glm model returns zeros. HOT 3
- {lightgbm} v4.0.0 is coming HOT 1
- Remove tibble dependency
- Deprecate plotting functions in favor of {shapviz}
- Error in if (ncol(res) == 1) { : argument is of length zero HOT 5
- Visualization omitted, Javascript library not loaded HOT 1
- no applicable method for 'predict' applied to an object of class "ranger" HOT 12
- All shap values were 0. HOT 3
- Calculating Shapley Values with Data Constraints HOT 4
- baseline is 0 HOT 3
- `explain` fails when variables are removed as part of `recipes::recipe` preprocessing HOT 2
- h2o fastshap HOT 1
- All shap values were NA. HOT 4
- `explain()` fails uninformatively if `exact` argument is specified, on cv.glmnet model objects HOT 3
- fastshap::explain() uses all cores and not those defined by registerDoParallel(cores=X) HOT 3
- fastshap: Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent HOT 1
- pred_wrapper with multinomial classification HOT 2
- Missing object 'phis'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastshap.