Skip to content

✨ Add multiclass classification support - #20

Merged
hayesall merged 5 commits into
mainfrom
multiclass
Dec 5, 2021
Merged

hayesall merged 5 commits into
mainfrom
multiclass

Conversation

@hayesall

@hayesall hayesall commented Dec 4, 2021

Copy link
Copy Markdown
Member

Add methods to convert_numpy to support
setting up multiclass classification problems.

These add examples to RelationalDataset.pos,
leaving .neg empty. Assuming a OneVsRest
style implementation is added to srlearn
soon, splitting to pos/neg can be handled
elsewhere.

@codecov

codecov Bot commented Dec 4, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #20 (700948b) into main (d6ecbee) will increase coverage by 0.60%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   92.63%   93.23%   +0.60%     
==========================================
  Files          10       10              
  Lines         190      207      +17     
==========================================
+ Hits          176      193      +17     
  Misses         14       14              
Flag Coverage Δ
unittests 93.23% <100.00%> (+0.60%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
relational_datasets/_version.py 100.00% <100.00%> (ø)
relational_datasets/convert/convert_numpy.py 94.87% <100.00%> (+1.53%) ⬆️
...ional_datasets/convert/tests/test_convert_numpy.py 100.00% <100.00%> (ø)

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 d6ecbee...700948b. Read the comment docs.

@hayesall
hayesall merged commit c3a515e into main Dec 5, 2021
@hayesall
hayesall deleted the multiclass branch December 5, 2021 00:04
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.

1 participant