ModelFox.PredictOptions (modelfox v0.8.0) View Source

These are the options passed to ModelFox.predict.


If your model is a binary classifier, use this field to make predictions using the threshold you chose on the tuning page of the app. The default value is 0.5.


Computing feature contributions is disabled by default. If you set this field to true, you will be able to access the feature contributions with the feature_contributions field of the predict output.

Link to this section Summary

Link to this section Types


t() :: %ModelFox.PredictOptions{
  compute_feature_contributions: boolean(),
  threshold: float()