alteryx / compose

A machine learning tool for automated prediction engineering. It allows you to easily structure prediction problems and generate labels for supervised learning.
https://compose.alteryx.com
BSD 3-Clause "New" or "Revised" License
492 stars 46 forks source link

Handle categorical target with unused categories #349

Closed thehomebrewnerd closed 1 year ago

thehomebrewnerd commented 1 year ago

Closes #274

Removes any unused categories in a categorical target during lm.search to avoid identifying target groups that contain no data.

codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@e0d2f90). Click here to learn what that means. The diff coverage is 100.00%.

@@           Coverage Diff            @@
##             main      #349   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?        29           
  Lines           ?      1341           
  Branches        ?         0           
========================================
  Hits            ?      1341           
  Misses          ?         0           
  Partials        ?         0           
Impacted Files Coverage Δ
composeml/label_maker.py 100.00% <100.00%> (ø)
composeml/tests/test_label_maker.py 100.00% <100.00%> (ø)