Tangram.FeatureContributions (tangram v0.7.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.

baseline_value

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

output_value

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.

entries

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

Specs

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