From 12764cb2517ba1e2594f224571287cba67ef79ce Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Sat, 7 Oct 2023 11:37:39 +1300 Subject: [PATCH 1/4] minor doc fix --- docs/src/examples_of_usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/examples_of_usage.md b/docs/src/examples_of_usage.md index 0428d5c..43f4b07 100644 --- a/docs/src/examples_of_usage.md +++ b/docs/src/examples_of_usage.md @@ -299,7 +299,7 @@ import LossFunctions as LF loss = Measure(LF.L1HingeLoss()) ``` -This loss can only called on scalars (true for LossFunctions.jl losses since v0.10): +This loss can only be called on scalars (true for LossFunctions.jl losses since v0.10): ```@example 28 using CategoricalArrays From 5041be3dede674c925d0ba1991cb7029f9b1ff19 Mon Sep 17 00:00:00 2001 From: CompatHelper Julia Date: Sun, 29 Oct 2023 00:43:38 +0000 Subject: [PATCH 2/4] CompatHelper: add new compat entry for Statistics at version 1, (keep existing compat) --- Project.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Project.toml b/Project.toml index e9b88f2..4ddf579 100644 --- a/Project.toml +++ b/Project.toml @@ -39,6 +39,7 @@ PrecompileTools = "1.1" ScientificTypes = "3" ScientificTypesBase = "3" StatisticalMeasuresBase = "0.1" +Statistics = "1" StatsBase = "0.33, 0.34" julia = "1.6" From 907a5b74d8f6696fbce9644f1d5a099f0b5501bc Mon Sep 17 00:00:00 2001 From: Yi-Xin Liu Date: Mon, 22 Jan 2024 10:37:42 +0800 Subject: [PATCH 3/4] Update finite.jl for a typo in evaluating F1 score `measures.beta` should be `measure.beta`. --- src/finite.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finite.jl b/src/finite.jl index ced11c9..96ce027 100644 --- a/src/finite.jl +++ b/src/finite.jl @@ -500,7 +500,7 @@ const FScoreType = API.FussyMeasure{<:API.RobustMeasure{<:_FScore}} # Allow callable on confusion matrices: (measure::FScoreType)(cm::ConfusionMatrices.ConfusionMatrix) = - ConfusionMatrices.fscore(cm, measures.beta) + ConfusionMatrices.fscore(cm, measure.beta) # these traits will be inherited by `FScore`: @trait( From 8d24252cff6e721e2d03c5619a81f82a3ba7fa48 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 22 Jan 2024 19:43:41 +1300 Subject: [PATCH 4/4] bump 0.1.4 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 4ddf579..b1e3f28 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "StatisticalMeasures" uuid = "a19d573c-0a75-4610-95b3-7071388c7541" authors = ["Anthony D. Blaom "] -version = "0.1.3" +version = "0.1.4" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"