nknewlands / DeepLearningShortCourse

Short Course on Deep Learning for the Environmental Sciences
2 stars 1 forks source link

run time errors in timeseries.R #2

Open nknewlands opened 5 years ago

nknewlands commented 5 years ago

When running "timeseries.R" code for time series anomoly tutorial, there are lots of errors that result:

e.g. Error in nrow(x_test) : object 'x_test' not found Error in FUN(X[[i]], ...) : object 'pred_10_m' not found

etiennelord commented 5 years ago

Hi,

I just rerun the test using the version of time_series.R found on the github. I saw no errors on my Windows computer. Could you send me the first error message you saw? Is it possible that the dataset nyc_taxi.csv was not found (not the good 'session' directory? Are you seeing the same problem in the python version?

At the end of the script., you should have the following plot (using the R version). The circled area are the timestamps where there is some anomalies.

timeseries_plot

Have a nice day!