JuliaAI / CatBoost.jl

Julia wrapper of the python library CatBoost for boosted decision trees
MIT License
11 stars 3 forks source link

Add support for training classifiers with one class present #29

Closed tylerjthomas9 closed 5 months ago

tylerjthomas9 commented 6 months ago

Ref: https://github.com/JuliaAI/CatBoost.jl/issues/22

Should we have a warning when there is only one class?

Changes in this PR

codecov[bot] commented 6 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (e7f56b7) 77.10% compared to head (b323d46) 75.55%.

Files Patch % Lines
src/mlj_catboostclassifier.jl 60.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #29 +/- ## ========================================== - Coverage 77.10% 75.55% -1.56% ========================================== Files 6 6 Lines 166 180 +14 ========================================== + Hits 128 136 +8 - Misses 38 44 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.