INNER CODE UNIT · Python
tune
aimclub/FEDOT · fedot/api/main.py:213
def tune(self,
input_data: Optional[FeaturesType] = None,
target: TargetType = 'target',
metric_name: Optional[Union[str, MetricCallable]] = None,
iterations: int = DEFAULT_TUNING_ITERATIONS_NUMBER,
timeout: Optional[float] = None,
cv_folds: Optional[int] = None,
n_jobs: Optional[int] = None,
show_progress: bool = False) -> Pipeline:
"""Method for hyperparameters tuning of current pipeline
Args:
input_data: data for tuning pipeline in one of the supported formats.
target: data target values in one of the supported target formats.
metric_name: name of metric for quality tuning.
iterations: numbers of tuning iterations.
timeout: time for tuning (in minutes). If ``None`` or ``-1`` means tuning until max iteration reach.
cv_folds: number of folds on data for cross-validation.