Skip to content

Commit

Permalink
Hiding unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
aPovidlo committed Sep 6, 2023
1 parent 4ef568b commit c3fb410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 2 additions & 6 deletions fedot/core/operations/evaluation/boostings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

class BoostingClassificationStrategy(EvaluationStrategy):
__operations_by_types = {
'catboost': FedotCatBoostClassificationImplementation,
# 'xgboost': FedotXgboostBoostClassificationImplementation,
# 'lgbm': FedotLightGBMBoostClassificationImplementation,
'catboost': FedotCatBoostClassificationImplementation
}

def __init__(self, operation_type: str, params: Optional[OperationParameters] = None):
Expand Down Expand Up @@ -49,9 +47,7 @@ def predict(self, trained_operation, predict_data: InputData) -> OutputData:

class BoostingRegressionStrategy(EvaluationStrategy):
__operations_by_types = {
'catboostreg': FedotCatBoostRegressionImplementation,
# 'xgb_regr': FedotXgboostBoostRegressionImplementation,
# 'lgbm_regr': FedotLightGBMBoostRegressionImplementation,
'catboostreg': FedotCatBoostRegressionImplementation
}

def __init__(self, operation_type: str, params: Optional[OperationParameters] = None):
Expand Down
2 changes: 0 additions & 2 deletions fedot/core/operations/evaluation/evaluation_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ class SkLearnEvaluationStrategy(EvaluationStrategy):
'svr': SklearnSVR,
'sgdr': SklearnSGD,
'lgbmreg': LGBMRegressor,
# 'catboostreg': CatBoostRegressor,

'xgboost': XGBClassifier,
'logit': SklearnLogReg,
Expand All @@ -192,7 +191,6 @@ class SkLearnEvaluationStrategy(EvaluationStrategy):
'rf': RandomForestClassifier,
'mlp': MLPClassifier,
'lgbm': LGBMClassifier,
# 'catboost': CatBoostClassifier,

'kmeans': SklearnKmeans,
}
Expand Down

0 comments on commit c3fb410

Please sign in to comment.