Skip to main content

Vectorizing Timestamps by means of a Variational Autoencoder

Project description

Timestamp2Vec

About

The Timestamp2Vec model consists of 2 parts: a feature extractor and an encoder, which is originally part of a variational autoencoder (VAE). The input of Timestamp2Vec is a timestamp, or multiple timestamps, in the shape YYYY-MM-DD HH:MM:SS and is of type String. The String(s) should be placed inside a list. The output of the model is a numpy array of shape (1, 8). To make use of Timestamp2Vec, install the package first. Afterward, import the model using "from timestamp2vec.Timestamp2Vec import Timestamp2Vec". Next, instanciate an instance of the model, for example: "timestamp2vec = Timestamp2Vec()". Finally, feed the model a list of timestamp(s) to obtain the vector(s). Please see the GitHub page to see an example.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timestamp2vec-0.0.20.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timestamp2vec-0.0.20-py3-none-any.whl (62.4 kB view details)

Uploaded Python 3

File details

Details for the file timestamp2vec-0.0.20.tar.gz.

File metadata

  • Download URL: timestamp2vec-0.0.20.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for timestamp2vec-0.0.20.tar.gz
Algorithm Hash digest
SHA256 b8dbfc09a3cc51f7cfbdbff94a6bde2973ff0204d6ef193dd882d58573d3c57a
MD5 48c05dacfc189b6fb211556653f748cb
BLAKE2b-256 5e6e83c9f7ab5908d3e2dc562c8fd65271ee14d51324ad12f762ee47e6a3df27

See more details on using hashes here.

File details

Details for the file timestamp2vec-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: timestamp2vec-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 62.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for timestamp2vec-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 ae0741ea9840d401b9338db3a9a6958c44eaf84b692a6388ae5bb48fc573679c
MD5 ebd8b56fdf07174de03ca3074523aed8
BLAKE2b-256 180acc23b1f7819f6501fa5cf44dfbba322a337fd2897e98af0fcaea8d8b88db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page