ParamsTuner

class lightautoml.ml_algo.tuning.base.ParamsTuner[source]

Bases: ABC

Base abstract class for hyperparameters tuners.

property best_params

Get best params.

Returns:

Dict with best fitted params.

abstract fit(ml_algo, train_valid_iterator=None)[source]

Tune model hyperparameters.

Parameters:
Return type:

Tuple[None, None]

Returns:

(None, None) if ml_algo is fitted or models are not fitted during training, (BestMLAlgo, BestPredictionsLAMLDataset) otherwise.