Updated machine learning model - #461
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #461 +/- ##
==========================================
- Coverage 97.50% 97.39% -0.12%
==========================================
Files 35 35
Lines 1484 1498 +14
==========================================
+ Hits 1447 1459 +12
- Misses 37 39 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@copilot Improve test coverage by adding additional unit tests for the changes in this pull request |
Co-authored-by: jan-janssen <3854739+jan-janssen@users.noreply.github.com>
Added 7 new unit tests in
|
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
|
@copilot resolve the merge conflicts in this pull request |
- model.py: keep single multi-output RandomForestClassifier approach - encoding.py: keep sparse matrix approach in one_hot_encoding/_encoding_helper, incorporate label_prefix parameter from main - google/mail.py: remove methods now in AbstractMailBox base class - base/mail.py: update AbstractMailBox to use new load_model/store_model API and new fit_machine_learning_models signature (with max_depth/min_samples_leaf) - tests/test_ml.py: fix test_spam_example_csv_pipeline_parallel to use new API Co-authored-by: jan-janssen <3854739+jan-janssen@users.noreply.github.com>
Co-authored-by: jan-janssen <3854739+jan-janssen@users.noreply.github.com>
Resolved in commit
All 59 tests pass. |
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Co-authored-by: jan-janssen <3854739+jan-janssen@users.noreply.github.com>
|
@copilot Improve unit test coverage for the newly added functionality to maintain the test coverage rate of over 97% |
…erver Co-authored-by: jan-janssen <3854739+jan-janssen@users.noreply.github.com>
Added the following new tests across three test files (commit
|
No description provided.