Skip to content

Commit

Permalink
Merge pull request #704 from JuliaAI/dev
Browse files Browse the repository at this point in the history
For a 0.19.1 release
  • Loading branch information
ablaom authored Dec 28, 2021
2 parents a4cd41f + 5d8c78c commit 8033702
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
matrix:
version:
- '1.3'
- '1.6'
- '1' # automatically expands to the latest stable 1.x release of Julia.
os:
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MLJBase"
uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
authors = ["Anthony D. Blaom <[email protected]>"]
version = "0.19"
version = "0.19.1"

[deps]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
Expand Down
20 changes: 9 additions & 11 deletions src/resampling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1221,19 +1221,17 @@ function evaluate!(mach::Machine, resampling, weights,
MLJBase.aggregate(per_fold[k], m)
end

ret = (
measure = measures,
measurement = per_measure,
operation = operations,
per_fold = per_fold,
per_observation = per_observation,
fitted_params_per_fold = fitted_params_per_fold |> collect,
report_per_fold = report_per_fold |> collect,
train_test_rows = resampling
return PerformanceEvaluation(
measures,
per_measure,
operations,
per_fold,
per_observation,
fitted_params_per_fold |> collect,
report_per_fold |> collect,
resampling
)

return ret

end

# ----------------------------------------------------------------
Expand Down

0 comments on commit 8033702

Please sign in to comment.