← All types
AI & MLOb Object

MLModelPrediction

Prediction result from a trained ML model

Fields

Predicted numeric value (regression)

Probability of the returned predictedClass for classifiers. Null for regression predictions.

Predicted class label (classification)

Per-feature SHAP-style contribution values explaining the prediction

bias

FloatNullable

Baseline bias value (intercept) before feature contributions

warnings

[String!]Nullable

Non-fatal validation warnings (e.g. missing features, type mismatches)

Referenced by (1)
Exact type SDL
"""Prediction result from a trained ML model"""
type MLModelPrediction {
  """Predicted numeric value (regression)"""
  prediction: Float
  """
  Probability of the returned predictedClass for classifiers. Null for regression predictions.
  """
  confidence: Float
  """Predicted class label (classification)"""
  predictedClass: String
  """Per-feature SHAP-style contribution values explaining the prediction"""
  contributions: [MLFeatureContribution!]
  """Baseline bias value (intercept) before feature contributions"""
  bias: Float
  """Non-fatal validation warnings (e.g. missing features, type mismatches)"""
  warnings: [String!]
}