Skip to content

Commit

Permalink
Merge pull request #11 from JuliaAI/dev
Browse files Browse the repository at this point in the history
Regenerate docs. No new release.
  • Loading branch information
ablaom authored Sep 29, 2023
2 parents 3e486fd + d3de847 commit e49e227
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage:
status:
project:
default:
threshold: 0.5%
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
env:
JULIA_NUM_THREADS: 2
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info
files: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
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 @@ -73,7 +73,7 @@ accuracy(ŷ, y, class_weights)
accuracy(ŷ, y, weights, class_weights)
```

To get individual per-observation weights, use [`measurements`](@ref):
To get a measurement for each individual observation, use [`measurements`](@ref):

```@example 20
measurements(accuracy, ŷ, y, weights, class_weights)
Expand Down
2 changes: 1 addition & 1 deletion test/roc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
)
@test_throws(
API.ERR_POOL,
roc_curve(ŷ, categorical(rand(1:2, 8)))
roc_curve(ŷ, categorical([1, 2, 2, 2, 2, 2, 1, 2]))
)

fprs, tprs, ts = @test_logs(
Expand Down

0 comments on commit e49e227

Please sign in to comment.