Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST DOCU MENTOR BOT #1258

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions fedot/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Fedot:
where all the optional AutoML parameters are documented and separated by meaning.

Args:
problem: name of the modelling problem to solve.
task_name: name of the modelling problem to solve.
.. details:: Possible options:

- ``classification`` -> for classification task
Expand Down Expand Up @@ -80,7 +80,7 @@ class Fedot:
"""

def __init__(self,
problem: str,
task_name: str,
timeout: Optional[float] = DEFAULT_API_TIMEOUT_MINUTES,
task_params: TaskParams = None,
seed: Optional[int] = None,
Expand All @@ -94,7 +94,7 @@ def __init__(self,
self.log = self._init_logger(logging_level)

# Attributes for dealing with metrics, data sources and hyperparameters
self.params = ApiParams(composer_tuner_params, problem, task_params, n_jobs, timeout)
self.params = ApiParams(composer_tuner_params, task_name, task_params, n_jobs, timeout)

default_metrics = MetricByTask.get_default_quality_metrics(self.params.task.task_type)
passed_metrics = self.params.get('metric')
Expand Down
Loading