Skip to content

Conversation

juliohm
Copy link
Member

@juliohm juliohm commented May 28, 2020

This PR removes a single method with MarginLoss and SparseArrays that is hanging in the codebase as a workaround for categorical representations. The plan is to think more carefully about an API with CategoricalArrays moving forward. This new API should be more explicit about encoding/decoding schemes, possibly avoiding this memory-hungry full one-hot encoding.

@codecov-commenter
Copy link

codecov-commenter commented May 28, 2020

Codecov Report

Merging #134 into master will decrease coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
- Coverage   93.75%   93.58%   -0.17%     
==========================================
  Files          11       10       -1     
  Lines         560      546      -14     
==========================================
- Hits          525      511      -14     
  Misses         35       35              
Impacted Files Coverage Δ
src/LossFunctions.jl 100.00% <ø> (ø)
src/supervised.jl 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 a0a2fa0...a6746ab. Read the comment docs.

@juliohm juliohm changed the title [WIP] Deprecate MarginLoss + SparseArray in favour of CategoricalArray Deprecate MarginLoss + SparseArray in favour of CategoricalArray May 29, 2020
@juliohm juliohm merged commit 672d97b into master Jun 1, 2020
@juliohm juliohm deleted the sparse branch June 1, 2020 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants