ncar / ai4ess-hackathon-2020 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
jupyterlab package is missing from install command. It might help to include an environment.yaml file with the repo.
I have encountered some confusion when trying to understand this line, in particular why we need iloc[1:,:]
to remove the first element in the predictions. Similarly, on the next line, why do we need to remove the last element from the true values?
My understanding is that the NN is trained with already aligned datasets. The datasets created from the function prepare_data
already have an offset by 1 to compensate for the purpose of "predicting the next timestamp". When using the model on validation set, why do we still need to remove any elements?
I have tried to remove the two iloc
places on line 942 and line 943. But I found my errors went up so I suppose the original code would be correct. But why?
I hope you can help me understand the code a bit better.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.