latest
Topical overviews
Tabular examples
Text examples
Image examples
Genomic examples
Benchmarks
API reference
Explanation
explainers
plots
maskers
models
utils
shap.utils.hclust
shap.utils.sample
shap.utils.shapley_coefficients
shap.utils.MaskedModel
datasets
API examples
SHAP
»
API Reference
»
shap.utils.sample
Edit on GitHub
shap.utils.sample
shap.utils.
sample
(
X
,
nsamples
=
100
,
random_state
=
0
)
Read the Docs
v: latest
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds