HannaMeyer / CAST

Developer Version of the R package CAST: Caret Applications for Spatio-Temporal models
https://hannameyer.github.io/CAST/
108 stars 30 forks source link

added NNDM CV in vignette and geodist #34

Closed carlesmila closed 2 years ago

carlesmila commented 2 years ago

Hi Hanna, I have added NNDM CV to the fourth vignette. To do so, I had to add an arg cvtrain to the function plot_geodist so that it can handle cases in which some of the samples are neither train or test data during CV (i.e. excluded samples). I also corrected some typos. Note that I've lowered the sample size of the vignette to 500 (rather than 1000) because otherwise the document takes ages to compile due to NNDM LOO, results don't change at all though so it's probably fine.