I have written a rather large module. I use it locally so I have not gone through the complex process to make it a package.
I just refactored some functions, always fraught with peril.
A smaller function in a separate file is used to do some setup and call the primary function in the module.
Alas,
ERROR: UndefVarError: train_nn not defined
Stacktrace:
[1] runjob(::String, ::String) at /Users/lewislevin/Dropbox/Online Coursework/ML Independent explorations/nn by hand/sample.jl:35
[2] runjob() at /Users/lewislevin/Dropbox/Online Coursework/ML Independent explorations/nn by hand/sample.jl:23
[3] top-level scope at none:0
The mystery is that function train_nn has 4 methods, so it certainly exists somewhere. I am sure I am overlooking something stupid on my part because this is so simple and fundamental. In the past, this sort of problem is caused by an unmatched or missing “end” somewhere.
It’s a lot of code so I wonder what is best to share to get some help.
Thanks,
Lewis