FeatureImpactPlot

FeatureImpactPlot[model,data]

plots the impact of the value of each feature in data on the result of model.

FeatureImpactPlot[model]

estimates the feature impacts using synthetic data.

FeatureImpactPlot[modelfname,]

plots only the impact of the specified feature fname.

FeatureImpactPlot[modelfnameclass,]

plots only the impact on the classification class.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Train a predictor on a linear problem:

Visualize the distribution of the effect of each feature using random data:

Visualize a summary of the impact of each feature on a predictor result:

Visualize the impact of only two features:

Scope  (3)

Visualize the impact distributions on a prediction task:

Visualize the impact distributions on a classification task:

Select a specific class:

Use synthetic data to compute the impacts:

Options  (2)

BarOrigin  (1)

Specify the origin placement:

ChartStyle  (1)

Use a custom color function:

Specify one color for each feature:

Wolfram Research (2022), FeatureImpactPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/FeatureImpactPlot.html.

Text

Wolfram Research (2022), FeatureImpactPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/FeatureImpactPlot.html.

CMS

Wolfram Language. 2022. "FeatureImpactPlot." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FeatureImpactPlot.html.

APA

Wolfram Language. (2022). FeatureImpactPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FeatureImpactPlot.html

BibTeX

@misc{reference.wolfram_2024_featureimpactplot, author="Wolfram Research", title="{FeatureImpactPlot}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/FeatureImpactPlot.html}", note=[Accessed: 25-June-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_featureimpactplot, organization={Wolfram Research}, title={FeatureImpactPlot}, year={2022}, url={https://reference.wolfram.com/language/ref/FeatureImpactPlot.html}, note=[Accessed: 25-June-2024 ]}