Skip to content

Commit

Permalink
remove xgboost
Browse files Browse the repository at this point in the history
  • Loading branch information
euxhenh committed Dec 9, 2023
1 parent 2c7a642 commit 26e1a9e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tests/test_predictors.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ def test_gmix_x(X):

@pytest.mark.parametrize("X", X_mods_no_sparse)
@pytest.mark.parametrize(
"classifier, key", [("LogisticRegression", OBS.LOG_REG),
("XGBClassifier", OBS.XGB_CLASSIFIER)]
"classifier, key", [("LogisticRegression", OBS.LOG_REG)]
)
def test_classifiers_x(X, classifier, key):
adata = AnnData(X)
Expand Down Expand Up @@ -148,14 +147,6 @@ def test_classifiers_x(X, classifier, key):
kmeans = cfg_kmeans.create()
kmeans(adata)

if classifier == "XGBClassifier":
kwargs = {
'n_estimators': 1,
'max_depth': 1,
}
else:
kwargs = {}

cfg = OmegaConf.create(
{
"_target_": f"src.grinch.{classifier}.Config",
Expand Down

0 comments on commit 26e1a9e

Please sign in to comment.