Skip to content

Commit

Permalink
regressor time update for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmatsumoto committed Jul 28, 2023
1 parent e646215 commit 21af4c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tpot2/tests/test_estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
@pytest.fixture
def tpot_estimator():
return tpot2.TPOTEstimator( population_size=10,
generations=2,
scorers=['roc_auc_ovr'],
scorers_weights=[1],
classification=True,
Expand Down Expand Up @@ -86,7 +85,7 @@ def tpot_classifier():

@pytest.fixture
def tpot_regressor():
return tpot2.tpot_estimator.templates.TPOTRegressor(max_time_seconds=30,verbose=1)
return tpot2.tpot_estimator.templates.TPOTRegressor(max_time_seconds=60,verbose=1)

def test_tpot_classifier_fit(tpot_classifier,sample_dataset):
#load iris dataset
Expand Down

0 comments on commit 21af4c4

Please sign in to comment.