class_docstr: An alternative FEDOT API version with optional attributes being documented
  and separated into groups by meaning.
  Each of the groups has corresponding setter method, named starting with :obj:`setup_*`.
  Use these methods to set corresponding API attributes:
  
  * :meth:`~FedotBuilder.setup_composition` -> general AutoML parameters
  
  * :meth:`~FedotBuilder.setup_parallelization` -> parameters of computational parallelization by CPU jobs
  
  * :meth:`~FedotBuilder.setup_output` -> parameters of outputs: logging, cache directories, etc.
  
  * :meth:`~FedotBuilder.setup_evolution` -> parameters of ML pipelines evolutionary optimization
  
  * :meth:`~FedotBuilder.setup_pipeline_structure` -> constrains on ML pipeline structure
  
  * :meth:`~FedotBuilder.setup_pipeline_evaluation` -> parameters of ML pipelines quality evaluation
  
  * :meth:`~FedotBuilder.setup_data_preprocessing` -> parameters of input data preprocessing
  
  After all demanded attributes are set, use :meth:`~FedotBuilder.build` to get a parametrized instance of
  :class:`~fedot.api.main.Fedot`.
  
  Examples:
      Example 1:
  
      .. literalinclude:: ../../../examples/simple/api_builder/classification_with_api_builder.py
  
      Example 2:
  
      .. literalinclude:: ../../../examples/simple/api_builder/multiple_ts_forecasting_tasks.py
  
  Args:
      problem: name of a modelling problem to solve.
  
          .. details:: Possible options:
  
              - ``classification`` -> for classification task
              - ``regression`` -> for regression task
              - ``ts_forecasting`` -> for time series forecasting task
class_docstr_tok: ["An","alternative","FEDOT","API","version","with","optional","attributes","being","documented","and","separated","into","groups","by","meaning",".","Each","of","the","groups","has","corresponding","setter","method",",","named","starting","with",":","obj",":","`","setup_","*","`",".","Use","these","methods","to","set","corresponding","API","attributes",":","*",":","meth",":","`","~FedotBuilder.setup_composition","`","-",">","general","AutoML","parameters","*",":","meth",":","`","~FedotBuilder.setup_parallelization","`","-",">","parameters","of","computational","parallelization","by","CPU","jobs","*",":","meth",":","`","~FedotBuilder.setup_output","`","-",">","parameters","of","outputs",":","logging",",","cache","directories",",","etc",".","*",":","meth",":","`","~FedotBuilder.setup_evolution","`","-",">","parameters","of","ML","pipelines","evolutionary","optimization","*",":","meth",":","`","~FedotBuilder.setup_pipeline_structure","`","-",">","constrains","on","ML","pipeline","structure","*",":","meth",":","`","~FedotBuilder.setup_pipeline_evaluation","`","-",">","parameters","of","ML","pipelines","quality","evaluation","*",":","meth",":","`","~FedotBuilder.setup_data_preprocessing","`","-",">","parameters","of","input","data","preprocessing","After","all","demanded","attributes","are","set",",","use",":","meth",":","`","~FedotBuilder.build","`","to","get","a","parametrized","instance","of",":","class",":","`","~fedot.api.main.Fedot","`",".","Examples",":","Example","1",":","..","literalinclude",":",":","..","\/","..","\/","..","\/examples\/simple\/api_builder\/classification_with_api_builder.py","Example","2",":","..","literalinclude",":",":","..","\/","..","\/","..","\/examples\/simple\/api_builder\/multiple_ts_forecasting_tasks.py","Args",":","problem",":","name","of","a","modelling","problem","to","solve",".","..","details",":",":","Possible","options",":","-","``","classification","``","-",">","for","classification","task","-","``","regression","``","-",">","for","regression","task","-","``","ts_forecasting","``","-",">","for","time","series","forecasting","task"]
docstr: Initializes an instance of :class:`~fedot.api.main.Fedot` with accumulated parameters.
  
  Returns:
      :class:`~fedot.api.main.Fedot` instance.
docstr_tok: ["Initializes","an","instance","of",":","class",":","`","~fedot.api.main.Fedot","`","with","accumulated","parameters",".","Returns",":",":","class",":","`","~fedot.api.main.Fedot","`","instance","."]
code: def build(self) -> Fedot:
      """Initializes an instance of :class:`~fedot.api.main.Fedot` with accumulated parameters.
  
      Returns:
          :class:`~fedot.api.main.Fedot` instance.
      """
      return Fedot(**self.api_params)
  
imports: from __future__ import annotations
  from typing import Any, Dict, List, Optional, Sequence, Type, Union
  from golem.core.optimisers.optimizer import GraphOptimizer
  from fedot.api.main import Fedot
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.metrics_repository import MetricIDType
  from fedot.core.repository.tasks import TaskParams
label_desc: Use image node_id 10 for calling the FedotBuilder obj's underlying member method code with example usage: obj.build() and returns: Fedot