Skip to main content

Generate Sliding Window from Time Series Dataset

Project description

SlidingWindowGenerator

  • based on tensorflow v2.3.0
  • This module converts time series data from dataframe type to sliding window type
    • to use as input in RNN based layer
  • This module was based on tensorflow official docs, just aggregate some functions and add small tuning to use it more efficiently.
    • to make it possible to control batch_size, sequence_stride_size and shuffle more freely.
  • Module is in ./src/sliding_window_generator.py and the example of how to use it is in ./src/example.ipynb

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

sliding-window-generator-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file sliding-window-generator-1.0.0.tar.gz.

File metadata

  • Download URL: sliding-window-generator-1.0.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for sliding-window-generator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b8cf775cc091202e801794ada646dd4a1ce035e044c1b2edd5246197c543cba6
MD5 4fed5c12f62d556cf26ea10513766b5f
BLAKE2b-256 62ad355539a6f1953c403d5372944d5531b26cb64233b9c9a54cea089ed861a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sliding_window_generator-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for sliding_window_generator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77f6a7c3148b05d48f18bfada25a88541389e7b3ae4fb8c621601f2c6591e887
MD5 a0f486314f1410ee35bd6f2e98c54fdb
BLAKE2b-256 6d9e4a6c460152ab7167802b837a4658d07d61ed8ad9c3785b764bbe5745a8c0

See more details on using hashes here.

Supported by

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