Skip to content

here i'm sharing some of the code snippets that I couldn't find online and had to code it myself

Notifications You must be signed in to change notification settings

AlexanderMonneret/Sliding-Window-Flatten-Data-Rows-Python-

Repository files navigation

Machine Learning Tools:

Sliding Window and Flatten Rows For Time Series Data

alt text

What does this code do?

  • apply a sliding window on a DataFrame
  • flatten the 2D window into 1D vector

Why?

  • to make the data-set more compatible with Scikit-Learn and Keras
  • apply feature normalization and SMOTE techniques

how?

  • make sure your data-set has the similar shape as the example
  • run the jupyter code on your data-set here is a link to my youtube channle where I explain the code https://youtu.be/uK1SXGNxazY

About

here i'm sharing some of the code snippets that I couldn't find online and had to code it myself

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published