← API reference
CANONICAL TYPE REFERENCE

MLModelPrediction

Prediction result from a trained ML model

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

biasFloat

Baseline bias value (intercept) before feature contributions

warnings[String!]

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

View exact 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!]
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.