Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems when running example #2

Open
AlexPars opened this issue Jun 12, 2021 · 3 comments
Open

Problems when running example #2

AlexPars opened this issue Jun 12, 2021 · 3 comments

Comments

@AlexPars
Copy link

I am running the example using Reference Data from M3 competition, and getting some errors

I was able to solve first error, but stuck at next error

First error was when running dejavu::Similarity function in the example
fc_Simi <- Similarity(AirPassengers, fh = 20, LoadData = TRUE, path = NULL)

bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘ref12.RData’ has magic number 'versi'
Use of save versions prior to 2 is deprecated

I have solved this error by reading the RData files using read.csv, and then saving the output of read.csv using R function save

Second error was when running Similarity with the newly saved RData files
fc_Simi <- Similarity(AirPassengers, fh = 20, LoadData = TRUE, path = NULL)

Error in Forecasting(y.train, fh = fh, nts = nts, Preprocessing = Preprocessing, :
object 'ref_info' not found

@feng-li
Copy link
Member

feng-li commented Jun 15, 2021

Did you use the most recent version of https://github.com/kl-lab/dejavu-refdata ?

@AlexPars
Copy link
Author

yes, I took the latest version of https://github.com/kl-lab/dejavu-refdata

@feng-li
Copy link
Member

feng-li commented Jun 15, 2021

We have tested with R version 4.0.4 and everything is fine. Please make sure that you have cloned the reference data properly. Note that the reference git repository is git-lfs controlled. Using GitHub Download ZIP option will only download the meta data and the binary will not be downloaded.

Or you could use the releases page link to download the reference binary files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants