Skip to content

Commit 793c474

Browse files
anthonyanthony
authored andcommitted
fix a test broken by LearnAPI compat bump
1 parent defeb4c commit 793c474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/resampling.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dummy_measure_det(yhat, y) = 42
3131
API.@trait(
3232
typeof(dummy_measure_det),
3333
observation_scitype = MLJBase.Textual,
34-
kind_of_proxy = LearnAPI.LiteralTarget(),
34+
kind_of_proxy = LearnAPI.Point(),
3535
)
3636

3737
dummy_measure_interval(yhat, y) = 42
@@ -256,7 +256,7 @@ end
256256
@everywhere begin
257257
user_rms(yhat, y) = mean((yhat -y).^2) |> sqrt
258258
# deliberately omitting `consumes_multiple_observations` trait:
259-
API.@trait typeof(user_rms) kind_of_proxy=LearnAPI.LiteralTarget()
259+
API.@trait typeof(user_rms) kind_of_proxy=LearnAPI.Point()
260260
end
261261

262262
@testset_accelerated "folds specified" accel begin

0 commit comments

Comments
 (0)