gowerrobert / MultipleScatteringLearnMoments.jl

A Julia library for learning the radius and concentration of a material by using the moments of simulated backscattered waves. The backscattered waves are generated by the MultipleScattering julia package
Other
1 stars 0 forks source link

demo_L2 shouldn't depend on the current working directory. #1

Open arturgower opened 6 years ago

arturgower commented 6 years ago

The loading of the data only works if the user is in the root directory of the package. To remedy this, I suggest adding these two lines of code before loading the data:

download("https://zenodo.org/record/1126642/files/test.mnts.jld", ".") 
download("https://zenodo.org/record/1126642/files/train.mnts.jld", ".")
arturgower commented 6 years ago

I've added these lines of code, but of course the cross_valid parameters are also directory dependent.