Skip to content

Commit

Permalink
added task2 to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sadit committed Mar 17, 2024
1 parent 2a1cde3 commit b5dba9f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions eval.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ if !isinteractive()
gfile = joinpath("data2024", "gold-standard-dbsize=$dbsize--$goldsuffix")
files = glob(joinpath(lastpath, "*.h5"))
D = evaluate_results(gfile, files, k)
show(f, "text/plain", gfile => files)
show(f, "text/plain", D)
println(f, "=== results for $dbsize $goldsuffix ===")
println(f, gfile => files)
show(f, "text/plain", gfile => files); println()
show(f, "text/plain", D); println()
display(gfile => files)
display(D)
p = lineplot(D.recall; ylim=(0, 1), title=String(D.algo[1]), ylabel="recall", xlabel="$(D.params[1]) ... $(D.params[end])")
display(p)
show(f, "text/plain", p)
show(f, "text/plain", p); println()
CSV.write("$task-$dbsize.csv", D)
end
end
Expand Down

0 comments on commit b5dba9f

Please sign in to comment.