Instance Method

evaluation(on:)

Returns metrics describing the regressor’s performance on the provided labeled data.

Declaration

func evaluation(on labeledData: MLDataTable) -> MLRegressorMetrics

Return Value

Metrics that describe the maximum error (maximumError) or the average error (rootMeanSquaredError).

Discussion

Perform evaluation on testing data that the model hasn't seen in the training or validation data sets.