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-1.0.0.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-1.0.0-py3-none-any.whl (62.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timestamp2vec-1.0.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ecba2b93c38b1ee2d9e7dabaf24f5c10c82cb71bba7532e99b059d323f61cd2b
MD5 e960f9755d6b8dc6aa4c88cb791715cb
BLAKE2b-256 f4e879a8df8f725fdca2c14896cef6a6f40397e41f28c394a1d2c535a1dd2822

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timestamp2vec-1.0.0-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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa1c0fec7a88d7ab8ea3cfcafcebb92896b2266948fc816ff17a8abc998bc24a
MD5 6e349cb286b50534de5afa4be0155051
BLAKE2b-256 8c24eaf0f9b2cf7ddb057cba48720c81a69fa01f2c0837f5191aa3b5a59fc868

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