ModelFox.RegressionPredictOutput (modelfox v0.8.0) View Source

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


This is the predicted value.


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


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