Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
YuhanLiin authored Oct 15, 2023
2 parents fe82fb8 + ff5d836 commit d960fc0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
toolchain:
- 1.65.0
- 1.67.0
- stable
- nightly
os:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codequality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
toolchain:
- 1.65.0
- 1.67.0
- stable

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
toolchain:
- 1.65.0
- 1.67.0
- stable
os:
- ubuntu-latest
Expand All @@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
toolchain:
- 1.65.0
- 1.67.0
- stable
os:
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-hierarchical/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["algorithms", "mathematics", "science"]
[dependencies]
ndarray = { version = "0.15" }
kodama = "0.2"
thiserror = "=1.0.25"
thiserror = "1.0.25"

linfa = { version = "0.6.1", path = "../.." }
linfa-kernel = { version = "0.6.1", path = "../linfa-kernel" }
Expand Down
6 changes: 3 additions & 3 deletions src/metrics_classification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,19 +618,19 @@ mod tests {

assert_split_eq(
&x,
|cm| ConfusionMatrix::precision(cm),
ConfusionMatrix::precision,
&array![1.0, 3. / 4.],
&labels,
);
assert_split_eq(
&x,
|cm| ConfusionMatrix::recall(cm),
ConfusionMatrix::recall,
&array![2.0 / 3.0, 1.0],
&labels,
);
assert_split_eq(
&x,
|cm| ConfusionMatrix::f1_score(cm),
ConfusionMatrix::f1_score,
&array![4.0 / 5.0, 6.0 / 7.0],
&labels,
);
Expand Down

0 comments on commit d960fc0

Please sign in to comment.