Skip to content

Updated NoVarianceDataCheck to return only Warnings#3506

Merged
ParthivNaresh merged 9 commits intomainfrom
make_novariance_warning
May 10, 2022
Merged

Updated NoVarianceDataCheck to return only Warnings#3506
ParthivNaresh merged 9 commits intomainfrom
make_novariance_warning

Conversation

@ParthivNaresh
Copy link
Copy Markdown
Contributor

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2022

Codecov Report

Merging #3506 (23871a2) into main (d272705) will not change coverage.
The diff coverage is 100.0%.

@@          Coverage Diff          @@
##            main   #3506   +/-   ##
=====================================
  Coverage   99.7%   99.7%           
=====================================
  Files        336     336           
  Lines      33420   33420           
=====================================
  Hits       33294   33294           
  Misses       126     126           
Impacted Files Coverage Δ
evalml/data_checks/no_variance_data_check.py 100.0% <ø> (ø)
evalml/tests/data_checks_tests/test_data_checks.py 100.0% <ø> (ø)
...s/data_checks_tests/test_no_variance_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 d272705...23871a2. Read the comment docs.

"metadata": {},
"outputs": [],
"source": [
"# let's copy the datetime at row 1 for future use\n",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

DateTimeFormatDataCheck isn't run for a binary problem type so all datetime error references are obsolete

"results_no_errors = search_iterative(X_train_no_errors, y_train_no_errors, problem_type='binary')\n",
"results_no_errors"
]
},
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

After these changes, the only error left is that the target has null. That leaves little reason to keep this in, but I think a separate issue should be filed to create a more robust example using more data checks with errors.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sure, please feel free to file and complete!

@ParthivNaresh ParthivNaresh marked this pull request as ready for review May 9, 2022 19:34
Copy link
Copy Markdown
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.

I think once I understand why we're doing this, this looks good to go.

"results_no_errors = search_iterative(X_train_no_errors, y_train_no_errors, problem_type='binary')\n",
"results_no_errors"
]
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sure, please feel free to file and complete!

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.

2 participants