From 5a0f530845df33cee96ef65362d73538bda6612b Mon Sep 17 00:00:00 2001 From: christopherbunn Date: Mon, 3 Jul 2023 12:46:40 -0400 Subject: [PATCH] Test updates --- docs/source/start.ipynb | 15 --------------- .../automl/automl_algorithm/default_algorithm.py | 2 -- evalml/tests/automl_tests/test_automl.py | 2 +- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/docs/source/start.ipynb b/docs/source/start.ipynb index 72d6aeaa20..d8cf804652 100644 --- a/docs/source/start.ipynb +++ b/docs/source/start.ipynb @@ -1,7 +1,6 @@ { "cells": [ { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -9,7 +8,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -28,7 +26,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -45,7 +42,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -81,7 +77,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -100,7 +95,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -108,7 +102,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -140,7 +133,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -159,7 +151,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -186,7 +177,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -194,7 +184,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -211,7 +200,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -228,7 +216,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -246,7 +233,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -264,7 +250,6 @@ ] }, { - "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ diff --git a/evalml/automl/automl_algorithm/default_algorithm.py b/evalml/automl/automl_algorithm/default_algorithm.py index ea4166cd2b..fecada082c 100644 --- a/evalml/automl/automl_algorithm/default_algorithm.py +++ b/evalml/automl/automl_algorithm/default_algorithm.py @@ -170,8 +170,6 @@ def default_max_batches(self): """Returns the number of max batches AutoMLSearch should run by default.""" if self.ensembling: return 3 - elif is_time_series(self.problem_type): - return 2 # we do not run feature selection for time series else: return 2 diff --git a/evalml/tests/automl_tests/test_automl.py b/evalml/tests/automl_tests/test_automl.py index ff2e495eb6..64f4ac60d9 100644 --- a/evalml/tests/automl_tests/test_automl.py +++ b/evalml/tests/automl_tests/test_automl.py @@ -1804,7 +1804,7 @@ def test_pipelines_in_batch_return_nan( X_train=X, y_train=y, problem_type="binary", - max_batches=2, + max_batches=3, automl_algorithm="iterative", allowed_component_graphs={"Name": [dummy_classifier_estimator_class]}, n_jobs=1,