Tangram.BagOfWordsFeatureContribution (tangram v0.7.0) View Source

This describes the contribution of a feature from a bag of words feature group.

column_name

This is the name of the source column for the bag of words feature group.

ngram

This is the ngram for the feature.

feature_value

This is the value of the feature.

feature_contribution_value

This is the amount that the feature contributed to the output.

Link to this section Summary

Link to this section Types

Specs

ngram() :: String.t() | {String.t(), String.t()}

Specs

t() :: %Tangram.BagOfWordsFeatureContribution{
  column_name: String.t(),
  feature_contribution_value: float(),
  feature_value: float(),
  ngram: ngram()
}