Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update InvalidTargetDataCheck to validate time series regression problems #3251

Merged
merged 3 commits into from
Jan 18, 2022

Conversation

freddyaboulton
Copy link
Contributor

Pull Request Description

Fixes #3249


After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

@freddyaboulton freddyaboulton changed the title Update InvalidTargetDataCheck to test time series regression Update InvalidTargetDataCheck to validate time series regression problems Jan 14, 2022
@codecov
Copy link

codecov bot commented Jan 14, 2022

Codecov Report

Merging #3251 (266a4dc) into main (af36015) will increase coverage by 0.1%.
The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #3251     +/-   ##
=======================================
+ Coverage   99.8%   99.8%   +0.1%     
=======================================
  Files        326     326             
  Lines      31467   31476      +9     
=======================================
+ Hits       31376   31385      +9     
  Misses        91      91             
Impacted Files Coverage Δ
evalml/data_checks/invalid_target_data_check.py 100.0% <100.0%> (ø)
evalml/tests/data_checks_tests/test_data_checks.py 100.0% <100.0%> (ø)
...ata_checks_tests/test_invalid_target_data_check.py 100.0% <100.0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af36015...266a4dc. Read the comment docs.

@@ -527,7 +530,10 @@ def test_invalid_target_data_check_regression_problem_nonnumeric_data():
) == {"warnings": [], "errors": [], "actions": []}


def test_invalid_target_data_check_multiclass_problem_binary_data():
@pytest.mark.parametrize(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to the issue but just adding coverage for time series classification. Same below.

Copy link
Collaborator

@jeremyliweishih jeremyliweishih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

Copy link
Contributor

@chukarsten chukarsten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the quick fix!

@freddyaboulton freddyaboulton enabled auto-merge (squash) January 18, 2022 16:18
Copy link
Contributor

@angela97lin angela97lin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

Copy link
Contributor

@ParthivNaresh ParthivNaresh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great thanks!

@freddyaboulton freddyaboulton merged commit 3be19dd into main Jan 18, 2022
@freddyaboulton freddyaboulton deleted the 3249-invalid-target-check-ts branch January 18, 2022 17:01
@chukarsten chukarsten mentioned this pull request Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InvalidTargetDataCheck should run for time series regression
5 participants