From 1bceffc8fa664b24b66d74debce4c81ae4b4f7ff Mon Sep 17 00:00:00 2001 From: Andrey Stebenkov Date: Tue, 17 Oct 2023 15:53:34 +0300 Subject: [PATCH] Fix docs strings and config --- .readthedocs.yml | 5 +++++ fedot/core/operations/evaluation/evaluation_interfaces.py | 2 -- .../models/boostings_implementations.py | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 6e8fcc3efe..bfce9dcbe7 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,6 +5,11 @@ # Required version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.8" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py diff --git a/fedot/core/operations/evaluation/evaluation_interfaces.py b/fedot/core/operations/evaluation/evaluation_interfaces.py index c01f2e2880..7a4fcaed95 100644 --- a/fedot/core/operations/evaluation/evaluation_interfaces.py +++ b/fedot/core/operations/evaluation/evaluation_interfaces.py @@ -156,7 +156,6 @@ class SkLearnEvaluationStrategy(EvaluationStrategy): - ``svr``-> SklearnSVR - ``sgdr``-> SklearnSGD - ``lgbmreg``-> LGBMRegressor - - ``catboostreg``-> CatBoostRegressor - ``xgboost``-> XGBClassifier - ``logit``-> SklearnLogReg - ``bernb``-> SklearnBernoulliNB @@ -165,7 +164,6 @@ class SkLearnEvaluationStrategy(EvaluationStrategy): - ``rf``-> RandomForestClassifier - ``mlp``-> MLPClassifier - ``lgbm``-> LGBMClassifier - - ``catboost``-> CatBoostClassifier - ``kmeans``-> SklearnKmeans params: hyperparameters to fit the operation with diff --git a/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py b/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py index e64a54246b..7e4032b9c7 100644 --- a/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py +++ b/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py @@ -13,7 +13,6 @@ class FedotCatBoostImplementation(ModelImplementation): - """ Catboost - https://catboost.ai/en/docs/ """ __operation_params = ['use_eval_set', 'n_jobs'] def __init__(self, params: Optional[OperationParameters] = None):