Skip to content

Commit

Permalink
Removed output in GaussianMixtureClustering.jl benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaticus committed Mar 22, 2024
1 parent 8ba229b commit a448a42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/Benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,10 @@ for (mname,f) in othcl_functions
#mname = "GMM"
println("Processing model $mname ... ")
Random.seed!(123)
old_logger = Logging.current_logger()
old_logger = Logging.global_logger()
oldstdout = stdout
#redirect_stdout(devnull)
#global_logger(NullLogger())
redirect_stdout(devnull)
global_logger(NullLogger())
bres = @benchmark $f($x)
m_time = median(bres.times)
Expand All @@ -414,8 +414,8 @@ for (mname,f) in othcl_functions
sil_mean = mean([r[2] for r in cv_out])
sil_std = std([r[2] for r in cv_out])
push!(bm_clustering,[mname, m_time, m_memory, m_allocs, acc_mean, acc_std, sil_mean, sil_std])
#redirect_stdout(oldstdout)
#global_logger(old_logger)
redirect_stdout(oldstdout)
global_logger(old_logger)
@test acc_mean >= 0.6
end
Expand Down

0 comments on commit a448a42

Please sign in to comment.