-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #935 from JuliaAI/dev
For a 1.0.0 release
- Loading branch information
Showing
63 changed files
with
887 additions
and
7,322 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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "MLJBase" | ||
uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d" | ||
authors = ["Anthony D. Blaom <[email protected]>"] | ||
version = "0.21.14" | ||
version = "1.0.0" | ||
|
||
[deps] | ||
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" | ||
|
@@ -13,37 +13,49 @@ Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b" | |
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" | ||
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" | ||
InvertedIndices = "41ab1584-1d38-5bbf-9106-f11c6c58b48f" | ||
LearnAPI = "92ad9a40-7767-427a-9ee6-6e577f1266cb" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
LossFunctions = "30fc2ffe-d236-52d8-8643-a9d8f7c094a7" | ||
MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" | ||
Missings = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" | ||
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" | ||
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a" | ||
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" | ||
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Reexport = "189a3867-3050-52da-a836-e630ba90ab69" | ||
ScientificTypes = "321657f4-b219-11e9-178b-2701a2544e81" | ||
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b" | ||
StatisticalMeasures = "a19d573c-0a75-4610-95b3-7071388c7541" | ||
StatisticalMeasuresBase = "c062fc1d-0d66-479b-b6ac-8b44719de4cc" | ||
StatisticalTraits = "64bff920-2084-43da-a3e6-9bb72801c0c9" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" | ||
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" | ||
|
||
[weakdeps] | ||
StatisticalMeasures = "a19d573c-0a75-4610-95b3-7071388c7541" | ||
|
||
[extensions] | ||
DefaultMeasuresExt = "StatisticalMeasures" | ||
|
||
[compat] | ||
CategoricalArrays = "0.9, 0.10" | ||
CategoricalDistributions = "0.1" | ||
ComputationalResources = "0.3" | ||
DelimitedFiles = "1" | ||
Distributions = "0.25.3" | ||
InvertedIndices = "1" | ||
LossFunctions = "0.11" | ||
LearnAPI = "0.1" | ||
MLJModelInterface = "1.7" | ||
Missings = "0.4, 1" | ||
OrderedCollections = "1.1" | ||
Parameters = "0.12" | ||
PrettyTables = "1, 2" | ||
ProgressMeter = "1.7.1" | ||
Reexport = "1.2" | ||
ScientificTypes = "3" | ||
StatisticalMeasures = "0.1.1" | ||
StatisticalMeasuresBase = "0.1.1" | ||
StatisticalTraits = "3.2" | ||
StatsBase = "0.32, 0.33, 0.34" | ||
Tables = "0.2, 1.0" | ||
|
@@ -57,8 +69,9 @@ Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" | |
MultivariateStats = "6f286f6a-111f-5878-ab1e-185364afe411" | ||
NearestNeighbors = "b8a86587-4115-5ab1-83bc-aa920d37bbce" | ||
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" | ||
StatisticalMeasures = "a19d573c-0a75-4610-95b3-7071388c7541" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9" | ||
|
||
[targets] | ||
test = ["DataFrames", "DecisionTree", "Distances", "Logging", "MultivariateStats", "NearestNeighbors", "StableRNGs", "Test", "TypedTables"] | ||
test = ["DataFrames", "DecisionTree", "Distances", "Logging", "MultivariateStats", "NearestNeighbors", "StableRNGs", "StatisticalMeasures", "Test", "TypedTables"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module DefaultMeasuresExt | ||
|
||
using MLJBase | ||
import MLJBase:default_measure, ProbabilisticDetector, DeterministicDetector | ||
using StatisticalMeasures | ||
using StatisticalMeasures.ScientificTypesBase | ||
|
||
default_measure(::Deterministic, ::Type{<:Union{Continuous,Count}}) = l2 | ||
default_measure(::Deterministic, ::Type{<:Finite}) = misclassification_rate | ||
default_measure(::Probabilistic, ::Type{<:Union{Finite,Count}}) = log_loss | ||
default_measure(::Probabilistic, ::Type{<:Continuous}) = log_loss | ||
default_measure(::ProbabilisticDetector, ::Type{<:OrderedFactor{2}}) = area_under_curve | ||
default_measure(::DeterministicDetector, ::Type{<:OrderedFactor{2}}) = balanced_accuracy | ||
|
||
end # module |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.