I'm new to Python. I have a time series in a CSV file that has about 5000 rows and 3 columns.

I have split the data into training and testing in ratio 70:30 respectively.

However, I have a problem on how I use time window containing 1024 data points in one sample and every sample is converted to a time-frequency image (STFT) with size of 224 × 224 x 3.

  • $\begingroup$ Hi and welcome here. I have trouble following your thoughts /needs. First of all what is "one sample" and how are you planing to to go from 1024 time samples to a STFT of 224x224? $\endgroup$ – Irreducible Jan 10 '20 at 12:41
  • $\begingroup$ Hi @Irreducible, One sample = 1024 data points. I have 1000 samples and wish to create STFT of sizes 224x224 from each sample. Hope this makes it clearer? $\endgroup$ – na2016 Jan 10 '20 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.