-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new distance functions for Multiclass and OrderedFactor. (#5)
* Add new distance functions for Multiclass and OrderedFactor. * Update src/TableDistances.jl * Move CategoricalArrays to before CoDa. Remove unecessary levelcode and type conversion. * Add MulticlassDistance and OrderedFactorDistance to tests. * Update result_type to return Bool instead of Float64 for MulticlassDistance. * Add docstring and move from the top of file the new defined distances. * Quick update. * Update src/distances.jl * Update src/distances.jl Co-authored-by: Júlio Hoffimann <[email protected]>
- Loading branch information
Showing
5 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ authors = ["Júlio Hoffimann <[email protected]>", "José Augusto <jose. | |
version = "0.1.0" | ||
|
||
[deps] | ||
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" | ||
CoDa = "5900dafe-f573-5c72-b367-76665857777b" | ||
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" | ||
ScientificTypes = "321657f4-b219-11e9-178b-2701a2544e81" | ||
|
@@ -13,6 +14,7 @@ TableOperations = "ab02a1b2-a7df-11e8-156e-fb1833f50b87" | |
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" | ||
|
||
[compat] | ||
CategoricalArrays = "0.10" | ||
CoDa = "0.6" | ||
Distances = "0.10" | ||
ScientificTypes = "2.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters