Instance Property

isValid

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

Declaration

var isValid: Bool { get }

Discussion

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.