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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for timestamp2vec-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1c0fec7a88d7ab8ea3cfcafcebb92896b2266948fc816ff17a8abc998bc24a |
|
MD5 | 6e349cb286b50534de5afa4be0155051 |
|
BLAKE2b-256 | 8c24eaf0f9b2cf7ddb057cba48720c81a69fa01f2c0837f5191aa3b5a59fc868 |