ModelFox.FeatureContributions (modelfox v0.8.0) View Source

This is a description of the feature contributions for the prediction if the task is regression or binary classification, or for a single class if the task is multiclass classification.


This is the value the model would output if all features had baseline values.


This is the value the model output. Any difference from the baseline_value is because of the deviation of the features from their baseline values.


This list will contain one entry for each of the model's features. Note that features are computed from columns, so there will likely be more features than columns.

Link to this section Summary

Link to this section Types


t() :: %ModelFox.FeatureContributions{
  baseline_value: float(),
  entries: [ModelFox.feature_contribution_entry()],
  output_value: float()