Skip to main content

Vectorizing Timestamps by means of a Variational Autoencoder

Project description

Timestamp2Vec

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 (Homepage) 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.21.tar.gz (8.7 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.21-py3-none-any.whl (62.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timestamp2vec-0.0.21.tar.gz
  • Upload date:
  • Size: 8.7 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.21.tar.gz
Algorithm Hash digest
SHA256 c7fbc8dd737ec931f1bb917d05ad018d0c3d1afbc37e93fa2f249d84fb188ad7
MD5 0c412303e33eef534a30fd0f9f5644e7
BLAKE2b-256 b471d6d93954a1baa084de080ea8e66b7de58589bcfe61ad7ffa127130a13e2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timestamp2vec-0.0.21-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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 23554bf07e145f7b4780424079711ce634891b34ae48f3d432d867a96fe249b5
MD5 5a41028a89d1c14a87ae73d23132adea
BLAKE2b-256 9eafdaa2ba883c5c930a1c8f346d0aefad79344266762ff4542b7f3b673e0f5c

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