This package provides fundamental operation on reshaping dataframes for Keras LSTM input
Project description
#This is a tool used to reshape dataset in pandas for Keras LSTM model
This module provides a single function that converts a multivariate time series dataframe into a supervised learning - style dataframe by flattening and shifting each series along a given lagging period. For example, when one tries to use keras on a 2-D tensor of shape (total_time_steps, num_features), it's required to reshape the tensor into a 3-D tensor of input_shape (num_features, time_steps, batch_size)
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
lstm_preprocess-0.2.0.tar.gz
(1.4 kB
view hashes)
Built Distribution
Close
Hashes for lstm_preprocess-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 159577e57b260d027d57ac6df1108975925fbeb9e79e81fb7d92c605431a4b82 |
|
MD5 | 74d433f9b009c81865e822dee3f8fc4b |
|
BLAKE2b-256 | 07ee6bf2adabb66560b4ab5b9ecebae9951d85b179043bf3f019b0c4aa74dbe0 |