Skip to content

Commit

Permalink
Fix memory benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykubica committed Oct 10, 2024
1 parent 58e95ee commit 99d5bb2
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,18 @@ def peakmem_learn_loop(ml_model):
metrics_file = str(Path(dir_name) / "metrics.csv")
output_queried_file = str(Path(dir_name) / "queried.csv")
learn_loop(
nloops=25,
features_method="malanchev",
classifier=ml_model,
strategy="RandomSampling",
path_to_features=features_file,
output_metrics_file=metrics_file,
output_queried_file=output_queried_file,
training="original",
batch=1,
)
LoopConfiguration(
nloops=25,
features_method="malanchev",
classifier=ml_model,
strategy="RandomSampling",
path_to_features=features_file,
output_metrics_file=metrics_file,
output_queried_file=output_queried_file,
training="original",
batch=1,
)
)


# Parameterize the ML models and strategies we benchmark.
Expand Down

0 comments on commit 99d5bb2

Please sign in to comment.