← All types
Ob Object

TrainingMetrics

Training metrics from a completed training run

Fields

rmse

FloatNullable

Root mean squared error (regression)

mae

FloatNullable

Mean absolute error (regression)

Maximum prediction error (regression)

r2

FloatNullable

R² coefficient of determination (regression)

Classification accuracy (0-1)

logloss

FloatNullable

Log loss (classification)

f1

FloatNullable

F1 score (binary classification)

bestRound

IntNullable

Round with best evaluation metric

Total boosting rounds used

Referenced by (6)
Exact type SDL
"""Training metrics from a completed training run"""
type TrainingMetrics {
  """Root mean squared error (regression)"""
  rmse: Float
  """Mean absolute error (regression)"""
  mae: Float
  """Maximum prediction error (regression)"""
  maxError: Float
  """R² coefficient of determination (regression)"""
  r2: Float
  """Classification accuracy (0-1)"""
  accuracy: Float
  """Log loss (classification)"""
  logloss: Float
  """F1 score (binary classification)"""
  f1: Float
  """Round with best evaluation metric"""
  bestRound: Int
  """Total boosting rounds used"""
  totalRounds: Int
}