Skip to content

Commit c1ab742

Browse files
authored
Merge pull request #45 from JuliaAI/dev
For a 0.4.4 release
2 parents 439e368 + c0491a7 commit c1ab742

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
julia-version:
20-
- "1.6"
20+
- "1.10"
2121
- "1"
2222
os:
2323
- ubuntu-latest
@@ -32,7 +32,7 @@ jobs:
3232
version: ${{ matrix.julia-version }}
3333
arch: ${{ matrix.julia-arch }}
3434
- name: Cache artifacts
35-
uses: actions/cache@v2
35+
uses: julia-actions/cache@v2
3636
env:
3737
cache-name: cache-artifacts
3838
with:

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MLJEnsembles"
22
uuid = "50ed68f4-41fd-4504-931a-ed422449fee0"
33
authors = ["Anthony D. Blaom <anthony.blaom@gmail.com>"]
4-
version = "0.4.3"
4+
version = "0.4.4"
55

66
[deps]
77
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
@@ -17,16 +17,16 @@ StatisticalMeasuresBase = "c062fc1d-0d66-479b-b6ac-8b44719de4cc"
1717
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1818

1919
[compat]
20-
CategoricalArrays = "0.8, 0.9, 0.10"
21-
CategoricalDistributions = "0.1.2"
20+
CategoricalArrays = "1"
21+
CategoricalDistributions = "0.2"
2222
ComputationalResources = "0.3"
2323
Distributions = "0.21, 0.22, 0.23, 0.24, 0.25"
2424
MLJModelInterface = "1.10"
2525
ProgressMeter = "1.1"
2626
ScientificTypesBase = "2,3"
2727
StatisticalMeasuresBase = "0.1"
2828
StatsBase = "0.32, 0.33, 0.34"
29-
julia = "1.6"
29+
julia = "1.10"
3030

3131
[extras]
3232
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"

test/_models/NearestNeighbors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function MLJBase.predict(m::KNNClassifier, (tree, y, w), X)
9393
idxs, dists = NN.knn(tree, Xmatrix, m.K)
9494

9595
preds = Vector{MLJBase.UnivariateFinite}(undef, length(idxs))
96-
classes = MLJBase.classes(y[1])
96+
classes = MLJBase.levels(y[1])
9797
probas = zeros(length(classes))
9898

9999
w_ = ones(m.K)

0 commit comments

Comments
 (0)