-
Notifications
You must be signed in to change notification settings - Fork 0
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
53 fix feedback tas feedback re check multicollinearity #58
53 fix feedback tas feedback re check multicollinearity #58
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check out comments for the new test file.
|
||
def test_function_output_incorrect_dtype(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate function name, would be better to merge them both and test both cases in the same function or renaming the function name to specify what is being tested.
tests/test_multicollinearity.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good documentation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58 +/- ##
=======================================
Coverage ? 97.65%
=======================================
Files ? 5
Lines ? 128
Branches ? 0
=======================================
Hits ? 125
Misses ? 3
Partials ? 0 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good. Approved and merged.
Addressed the following comments:
"check_multicollinearity" function did not check if input variables are of the correct datatype.
For "test_multicollinearity_wrong_input.py" did not test for if the input variabales are as expected, and if errors are raised when the input variable is not of an expected data type (e.g., expect train_df as dataframe but user uses a list)
("tests/test_multicollinearity.py", "tests/test_multicollinearity_wrong_input.py") are not well documented.