Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
giopaglia committed Jan 8, 2025
2 parents e94c53c + b47e27a commit dd34fac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SoleBase"
uuid = "4475fa32-7023-44a0-aa70-4813b230e492"
authors = ["Federico Manzella", "Patrik Cavina", "Eduard I. Stan", "Lorenzo Balboni", "Giovanni Pagliarini"]
version = "0.12.3"
version = "0.12.4"

[deps]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
Expand Down
2 changes: 1 addition & 1 deletion src/machine-learning-utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Types for supervised machine learning labels (classification and regression).
"""

"""$(doc_supervised_ml)"""
const CLabel = Union{AbstractString,Integer,CategoricalValue}
const CLabel = Union{AbstractString, CategoricalValue, Integer} # TODO it is improper to consider Integer's as categorical labels. Should actually be RLabel's, and CategoricalValue's should be used, instead. However, atm some algorithms still rely on Int's labels to be intended as indices of a vector of class names...
"""$(doc_supervised_ml)"""
const RLabel = AbstractFloat # TODO: Real
"""$(doc_supervised_ml)"""
Expand Down

0 comments on commit dd34fac

Please sign in to comment.