WLJS LogoWLJS Notebook

FeatureValueImpactPlot

FeatureValueImpactPlot[model,data] plots the impact of the value of a given feature in data on the result of model.

  • FeatureValueImpactPlot[model] estimates the feature value impact using synthetic data.
  • FeatureValueImpactPlot[model->fname,…] plots only the impact of the specified feature fname.
  • FeatureValueImpactPlot[model->fname->class,…] plots only the impact on the classification class.

Examples

(* Visualize feature impact *)
classifier = Classify[trainingData];
FeatureValueImpactPlot[classifier, testData]

(* Impact of a specific feature *)
FeatureValueImpactPlot[classifier -> "income", testData]

Please visit the official Wolfram Language Reference for more details.

On this page