Skip to content

Commit

Permalink
Merge pull request #20 from JuliaAI/dev
Browse files Browse the repository at this point in the history
For a 0.1.4 release
  • Loading branch information
ablaom authored Jan 22, 2024
2 parents e49e227 + 8d24252 commit 40bad35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StatisticalMeasures"
uuid = "a19d573c-0a75-4610-95b3-7071388c7541"
authors = ["Anthony D. Blaom <[email protected]>"]
version = "0.1.3"
version = "0.1.4"

[deps]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
Expand Down Expand Up @@ -39,6 +39,7 @@ PrecompileTools = "1.1"
ScientificTypes = "3"
ScientificTypesBase = "3"
StatisticalMeasuresBase = "0.1"
Statistics = "1"
StatsBase = "0.33, 0.34"
julia = "1.6"

Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples_of_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/finite.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 40bad35

Please sign in to comment.