0
$\begingroup$

I have an application that can generate 50 data in 1 second,which means the sampling_rate of my application is 50Hz. then theb data type is timeseries. then I make my data like below before training.

steps= 50
inp = []
out = []
for i in range(len(data_scaled_out) - (steps)):
    inp.append(data_scaled_in[i:i+steps])
    out.append(data_scaled_out[i+steps])

inp data shape is (50,89)

if I use data shape (50,89) is it the same I change the model's sampling rate to 1Hz? means that the model can only predict 1 data in 1 second? because my professor said that if I use the input shape (50.89) it is the same as me downsampling the frequency. Is that true?

$\endgroup$
3
  • $\begingroup$ Could you please clarify which variable has the shape (50, 89), and what are the shapes/sizes of the other variables? $\endgroup$
    – Lynn
    Dec 20, 2022 at 11:50
  • $\begingroup$ I have edit the question $\endgroup$ Dec 20, 2022 at 12:49
  • $\begingroup$ And what are the shapes/sizes of your other variables - data_scaled_in, data_scaled_out, and out? $\endgroup$
    – Lynn
    Dec 30, 2022 at 5:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.