WOLFRAM

FeatureImpactPlot[model,data]

plots the impact of the value of each feature in data on the result of 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)Summary of the most common use cases

Train a predictor on a linear problem:

Out[1]=1

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

Out[2]=2

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

Out[1]=1
Out[3]=3

Visualize the impact of only two features:

Out[4]=4

Scope  (3)Survey of the scope of standard use cases

Visualize the impact distributions on a prediction task:

Out[1]=1
Out[2]=2

Visualize the impact distributions on a classification task:

Out[1]=1
Out[2]=2

Select a specific class:

Out[3]=3

Use synthetic data to compute the impacts:

Out[1]=1
Out[2]=2

Options  (2)Common values & functionality for each option

BarOrigin  (1)

Specify the origin placement:

Out[2]=2
Out[4]=4

ChartStyle  (1)

Use a custom color function:

Out[2]=2

Specify one color for each feature:

Out[3]=3
Wolfram Research (2022), FeatureImpactPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/FeatureImpactPlot.html.
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.

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.

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_featureimpactplot, organization={Wolfram Research}, title={FeatureImpactPlot}, year={2022}, url={https://reference.wolfram.com/language/ref/FeatureImpactPlot.html}, note=[Accessed: 26-March-2025 ]}

@online{reference.wolfram_2025_featureimpactplot, organization={Wolfram Research}, title={FeatureImpactPlot}, year={2022}, url={https://reference.wolfram.com/language/ref/FeatureImpactPlot.html}, note=[Accessed: 26-March-2025 ]}