Skip to content
Snippets Groups Projects
Commit 8864e4dd authored by Pat Alt's avatar Pat Alt
Browse files

added bash file and updated deps

parent 8b065651
No related branches found
No related tags found
1 merge request!7669 initial run including fmnist lenet and new method
#!/bin/bash
#SBATCH --job-name="Counterfactuals"
#SBATCH --time=00:20:00
#SBATCH --ntasks=24
#SBATCH --cpus-per-task=1
#SBATCH --partition=compute
#SBATCH --mem-per-cpu=4GB
#SBATCH --account=innovation
#SBATCH --mail-type=END # Set mail type to 'END' to receive a mail when the job finishes.
module load 2023r1 openmpi julia
"""
aggregate(outcome::ExperimentOutcome; measure::String="distance_from_targets")
Function to quickly aggregate benchmarking results for a given measure.
"""
function aggregate(outcome::ExperimentOutcome; measure::String="distance_from_targets")
df = @chain outcome.bmk() begin
@group_by(generator, model)
@filter(variable == measure)
@summarize(val = mean(value), std = std(value))
@ungroup
end
return df
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment