Giter VIP home page Giter VIP logo

Comments (2)

ojus1 avatar ojus1 commented on July 23, 2024

Hi!
Thank you for taking interest in my project.

  1. 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.
  1. 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.
  2. 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.

itsoum avatar itsoum commented on July 23, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.