CumulativeFeatureImpactPlot

CumulativeFeatureImpactPlot[model,data]

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

CumulativeFeatureImpactPlot[model]

estimates the feature impacts using synthetic data.

CumulativeFeatureImpactPlot[modelfname,]

plots only the impact of the specified feature fname.

CumulativeFeatureImpactPlot[modelfnameclass,]

plots only the impact on the classification class.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Train a model to predict a variable from two features:

Visualize the incremental contribution of each feature to the final result:

Train a classification model on the Titanic Survival dataset:

The "SurvivalStatus" class is predicted according to three features:

Visualize the cumulative impact of all the feature on the "survived" classification for some examples:

Scope  (4)

Visualize the cumulative impacts on a prediction:

Visualize the cumulative impacts on a classification:

Use synthetic data to compute the impacts:

Visualize the impact on a specific classification:

Visualize the impact on a list of classes:

Applications  (1)

Analyze the features a model uses in its internal scoring of wine bottles:

Train a model to predict the quality of a wine bottle:

Visualize the cumulative impact of the bottle features on the result using 10 examples:

Analyze only the 50 bottles that the model scores highest:

While most bottle score high due to the alcohol content the top bottles are determined by volatile acidity:

This is a property of the model score that does not reflect its behavior on the highest training scores:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_cumulativefeatureimpactplot, organization={Wolfram Research}, title={CumulativeFeatureImpactPlot}, year={2022}, url={https://reference.wolfram.com/language/ref/CumulativeFeatureImpactPlot.html}, note=[Accessed: 24-November-2024 ]}