Loading...

vastorbit.machine_learning.vast.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:

score.

Return type:

float