run_experiments.jl 961 B
include("setup_env.jl");
# User inputs:
if "run-all" in ARGS
datanames = ["linearly_separable", "moons", "circles", "mnist", "gmsc"]
else
datanames = [ARGS[findall(contains.(ARGS, "data="))][1] |> x -> replace(x, "data=" => "")]
datanames = replace.(split(datanames[1], ","), " " => "")
end
# Linearly Separable
if "linearly_separable" in datanames
@info "Running linearly separable experiment."
include("linearly_separable.jl")
end
# Moons
if "moons" in datanames
@info "Running moons experiment."
include("moons.jl")
end
# Circles
if "circles" in datanames
@info "Running circles experiment."
include("circles.jl")
end
# GMSC
if "gmsc" in datanames
@info "Running GMSC experiment."
include("gmsc.jl")
end
# MNIST
if "mnist" in datanames
@info "Running MNIST experiment."
include("mnist.jl")
end
if USE_MPI
MPI.Finalize()
end
if UPLOAD
@info "Uploading results."
generate_artifacts()
end