From 26567b5ba8643e9b1c7e3bd3d37d29c798765843 Mon Sep 17 00:00:00 2001 From: MichaelFu512 Date: Thu, 14 Sep 2023 11:40:47 -0700 Subject: [PATCH 1/3] made lightgbm not verbose --- .../components/estimators/classifiers/lightgbm_classifier.py | 1 + 1 file changed, 1 insertion(+) diff --git a/evalml/pipelines/components/estimators/classifiers/lightgbm_classifier.py b/evalml/pipelines/components/estimators/classifiers/lightgbm_classifier.py index 66a66be176..04190f901a 100644 --- a/evalml/pipelines/components/estimators/classifiers/lightgbm_classifier.py +++ b/evalml/pipelines/components/estimators/classifiers/lightgbm_classifier.py @@ -108,6 +108,7 @@ def __init__( "n_jobs": n_jobs, "bagging_freq": bagging_freq, "bagging_fraction": bagging_fraction, + "verbose": -1, } parameters.update(kwargs) lg_parameters = copy.copy(parameters) From d36c39f949c3ae96e2601e751b02e7606ae48a05 Mon Sep 17 00:00:00 2001 From: MichaelFu512 Date: Thu, 14 Sep 2023 11:50:42 -0700 Subject: [PATCH 2/3] release notes --- docs/source/release_notes.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index bfe451047c..13f327cbb0 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -10,6 +10,7 @@ Release Notes * Fixes * Changes * Documentation Changes + * Removed LightGBM's excessive amount of warnings :pr:`4308` * Testing Changes .. warning:: From bd68d7ab6084605dde7bcf5cc0b4d8ba2a9a73ee Mon Sep 17 00:00:00 2001 From: MichaelFu512 Date: Thu, 14 Sep 2023 11:53:26 -0700 Subject: [PATCH 3/3] update test --- evalml/tests/component_tests/test_components.py | 1 + 1 file changed, 1 insertion(+) diff --git a/evalml/tests/component_tests/test_components.py b/evalml/tests/component_tests/test_components.py index 0d8650eb71..90ec22f5c4 100644 --- a/evalml/tests/component_tests/test_components.py +++ b/evalml/tests/component_tests/test_components.py @@ -492,6 +492,7 @@ def test_describe_component(): "n_jobs": -1, "bagging_fraction": 0.9, "bagging_freq": 0, + "verbose": -1, }, } assert lg_regressor.describe(return_dict=True) == {