Skip to content

Commit

Permalink
remove a few regressors
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Oct 9, 2024
1 parent afe21c4 commit 27df316
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/lazy_booster_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/lazy_booster_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion mlsauce.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 5 additions & 3 deletions mlsauce/lazybooster/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@
# "KernelRidge",
#"MultiOutputRegressor",
#"MultiTaskElasticNet",
#"MultiTaskElasticNetCV",
"MultiTaskElasticNetCV",
#"MultiTaskLasso",
#"MultiTaskLassoCV",
# "NuSVR",
"MultiTaskLassoCV",
"NuSVR",
"OrthogonalMatchingPursuit",
"OrthogonalMatchingPursuitCV",
"PLSCanonical",
"PLSRegression",
"RadiusNeighborsRegressor",
"RandomForestRegressor",
"RANSACRegressor",
"RegressorChain",
"StackingRegressor",
# "SVR",
Expand All @@ -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
)
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
MAINTAINER_EMAIL = 'thierry.moudiki@gmail.com'
LICENSE = 'BSD3 Clause Clear'

__version__ = '0.22.0'
__version__ = '0.22.1'

VERSION = __version__

Expand Down

0 comments on commit 27df316

Please sign in to comment.