Comments (2)
Hi!
Thank you for taking interest in my project.
- The tasks that I used to train the date2vec model on is given in the readme. In summary, I have given code for two tasks:
- Next date prediction: given a random timestamp, predict the exact timestamp after 24 hours.
- Date reconstruction (Autoencoding): given a random timestamp, predict the same timestamp.
- The pretrained model is trained on the first task on a very large dataset of randomly generated timestamps. These models learn general representations because the training task is unsupervised.
- If you want to use time2vec with your own model, simply import the layer and use it as an embedding. You can even finetune my pretrained model and maybe that might help?
Hope that helps you!
from date2vec.
Thank you for your answer. But you have check if this representation of time give better results instead of other simple representation of time like a simple datime feature or an one hot representation of time?
In the case of text, word2vec captures the context of each word and inject it in the representation taking into account the words around of the target word but what is the equivelant high level interpretation of time2vec. A datetime instead of a word always have the same neighborhood of datetimes. There is a physical order in the time which dominate the similarity across dates, always 17/8 will after 16/8 and before 18/8... there is no something similar in the text. So, what is the usefulness of a representation of time as embedding like date2vec instead of a simple feature?
from date2vec.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from date2vec.