From fe6ca0140228bc45da14857566af86f72140f38c Mon Sep 17 00:00:00 2001 From: Scott Lawrence Date: Sat, 22 Jun 2024 21:59:53 -0700 Subject: Progress toward MCMC --- src/Vatic.jl | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src/Vatic.jl') diff --git a/src/Vatic.jl b/src/Vatic.jl index 51abad3..3400a87 100644 --- a/src/Vatic.jl +++ b/src/Vatic.jl @@ -2,8 +2,11 @@ module Vatic include("Data.jl") +include("NeuralNetworks.jl") include("MonteCarlo.jl") +include("Bayes.jl") + include("platforms/Manifold.jl") include("platforms/Metaculus.jl") @@ -14,13 +17,22 @@ function main() args = let s = ArgParseSettings() @add_arg_table s begin + "--sources" + default = "sources.toml" + arg_type = String + "-i","--interactive" + action = :store_true end parse_args(s) end - term = REPL.Terminals.TTYTerminal("dumb", stdin, stdout, stderr) - repl = REPL.LineEditREPL(term, true) - REPL.run_repl(repl) + index = Data.Index(args["sources"]) + + if args["interactive"] + term = REPL.Terminals.TTYTerminal("dumb", stdin, stdout, stderr) + repl = REPL.LineEditREPL(term, true) + REPL.run_repl(repl) + end end end -- cgit v1.2.3-54-g00ecf