Instance Property


A Boolean value indicating whether the regressor model was able to calculate metrics.


var isValid: Bool { get }


Your metrics may be invalid if you attempt to perform evaluation on data that doesn’t match the structure of your training examples.

See Also

Handling Errors

var error: Error?

The underlying error present when the metrics are invalid.