From 27df31670df35b66f72b85858e3966e3d3e0100f Mon Sep 17 00:00:00 2001 From: Thierry Moudiki Date: Wed, 9 Oct 2024 13:36:44 +0000 Subject: [PATCH] remove a few regressors --- examples/lazy_booster_classification.py | 2 +- examples/lazy_booster_regression.py | 2 +- mlsauce.egg-info/PKG-INFO | 2 +- mlsauce/lazybooster/config.py | 8 +++++--- setup.py | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/lazy_booster_classification.py b/examples/lazy_booster_classification.py index ee52b45..55982c0 100644 --- a/examples/lazy_booster_classification.py +++ b/examples/lazy_booster_classification.py @@ -16,7 +16,7 @@ X = data.data y= data.target - X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = .2, random_state = 13) + X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = .2, random_state = 123) clf = ms.LazyBoostingClassifier(verbose=0, ignore_warnings=True, #n_jobs=2, custom_metric=None, preprocess=False) diff --git a/examples/lazy_booster_regression.py b/examples/lazy_booster_regression.py index 86579c6..59ecfe7 100644 --- a/examples/lazy_booster_regression.py +++ b/examples/lazy_booster_regression.py @@ -11,7 +11,7 @@ y= data.target X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = .2, random_state = 123) -regr = ms.LazyBoostingRegressor(verbose=0, ignore_warnings=True, n_jobs=2, +regr = ms.LazyBoostingRegressor(verbose=0, ignore_warnings=True, #n_jobs=2, custom_metric=None, preprocess=True) models, predictioms = regr.fit(X_train, X_test, y_train, y_test) model_dictionary = regr.provide_models(X_train, X_test, y_train, y_test) diff --git a/mlsauce.egg-info/PKG-INFO b/mlsauce.egg-info/PKG-INFO index 779e2b2..2d9317a 100644 --- a/mlsauce.egg-info/PKG-INFO +++ b/mlsauce.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: mlsauce -Version: 0.22.0 +Version: 0.22.1 Summary: Miscellaneous Statistical/Machine Learning tools Maintainer: T. Moudiki Maintainer-email: thierry.moudiki@gmail.com diff --git a/mlsauce/lazybooster/config.py b/mlsauce/lazybooster/config.py index 5eaef97..d5a6ca3 100644 --- a/mlsauce/lazybooster/config.py +++ b/mlsauce/lazybooster/config.py @@ -20,16 +20,17 @@ # "KernelRidge", #"MultiOutputRegressor", #"MultiTaskElasticNet", - #"MultiTaskElasticNetCV", + "MultiTaskElasticNetCV", #"MultiTaskLasso", - #"MultiTaskLassoCV", - # "NuSVR", + "MultiTaskLassoCV", + "NuSVR", "OrthogonalMatchingPursuit", "OrthogonalMatchingPursuitCV", "PLSCanonical", "PLSRegression", "RadiusNeighborsRegressor", "RandomForestRegressor", + "RANSACRegressor", "RegressorChain", "StackingRegressor", # "SVR", @@ -56,6 +57,7 @@ issubclass(est[1], RegressorMixin) and (est[0] not in removed_regressors) and (est[0][:5] != "Multi") + and (est[0][-2:] != "CV") and is_multitask_estimator(est[1]()) == False ) ] diff --git a/setup.py b/setup.py index 810259b..08bac65 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ MAINTAINER_EMAIL = 'thierry.moudiki@gmail.com' LICENSE = 'BSD3 Clause Clear' -__version__ = '0.22.0' +__version__ = '0.22.1' VERSION = __version__