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

Document existing benchmarks #9

Merged
merged 7 commits into from
Nov 7, 2024
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
fix tests
BatyLeo committed Nov 7, 2024
commit 37c936e487494293ce749609b9125bb5386e15ed
3 changes: 1 addition & 2 deletions test/subset_selection.jl
Original file line number Diff line number Diff line change
@@ -5,14 +5,13 @@
k = 5

b = SubsetSelectionBenchmark(; n=n, k=k)
b2 = SubsetSelectionBenchmark(; n=n, k=k, identity_mapping=false)

io = IOBuffer()
show(io, b)
@test String(take!(io)) == "SubsetSelectionBenchmark(n=25, k=5)"

dataset = generate_dataset(b, 50)
dataset2 = generate_dataset(b2, 50)
dataset2 = generate_dataset(b, 50; identity_mappinf=false)
model = generate_statistical_model(b)
maximizer = generate_maximizer(b)