ModelFox.RegressionPredictOutput (modelfox v0.8.0) View Source

ModelFox.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() :: %ModelFox.RegressionPredictOutput{
  feature_contributions: FeatureContributions.t() | nil,
  value: float()
}