Refactor metric evaluation for tuner
Created by: YamLyubov
Tuner now uses PipelineObjectiveEvaluate to evaluate metric while hyperparameters optimization.
- Tuner uses the same metric function as composer
-
Pipeline.fine_tune_all_nodes
is removed. To tune pipeline one can usePipelineTuner.tune
. Initialized once, tuner can be used for tuning different pipelines, not only one. - Functions
calculate_loss_function
,cv_tabular_predictions
,cv_time_series_predictions
are replaced by PipelineObjectiveEvaluate and removed. - HyperoptTuner does not use information about whether metric is minimized or maximized. It always minimizes the metric.