Loading...

verticapy.machine_learning.vertica.pipeline.Pipeline.score#

Pipeline.score(metric: str | None = None) float#

Computes the model score.

Parameters#

metric: str, optional

The metric used to compute the score. Depends on the final estimator type (classification or regression).

Returns#

float

score.