Tangram.RegressionPredictOutput (tangram v0.7.0) View Source

Tangram.predict outputs {:regression, RegressionPredictOutput.t()} when the model's task is regression.

value

This is the predicted value.

feature_contributions

If computing feature contributions was enabled in the predict options, this value will explain the model's output, showing how much each feature contributed to the output.

Link to this section Summary

Link to this section Types

Specs

t() :: %Tangram.RegressionPredictOutput{
  feature_contributions: FeatureContributions.t() | nil,
  value: float()
}