*/ use HasFactory; protected function casts(): array { return [ 'features_json' => 'array', 'coefficients_json' => 'array', 'calibration_table' => 'array', 'train_start' => 'date', 'train_end' => 'date', 'eval_start' => 'date', 'eval_end' => 'date', 'directional_accuracy' => 'decimal:2', 'mae_pence' => 'decimal:2', 'leak_suspected' => 'boolean', 'ran_at' => 'datetime', ]; } }