Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dummy commit #5

Merged
merged 4 commits into from
Feb 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add a test
ablaom committed Feb 7, 2025
commit bde53feac916a99554584cde8257f955848361ac
2 changes: 1 addition & 1 deletion test/learners/regression.jl
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ end
# # BABY RIDGE

learner = LearnTestAPI.BabyRidge(lambda=0.5)
@testapi learner data verbosity=1
@testapi learner data verbosity=0

@testset "extra tests for baby ridge" begin
model = fit(learner, Tables.subset(X, train), y[train]; verbosity=0)
5 changes: 5 additions & 0 deletions test/tools.jl
Original file line number Diff line number Diff line change
@@ -28,4 +28,9 @@ data = Data(v)
LearnTestAPI.model_get(model, data) == v
end

@test_logs(
(:info, LearnTestAPI.INFO_NEAR),
(@test_throws MethodError LearnTestAPI.isnear('a', 'b')),
)

true