Keras: LSTM with class weights
问题 my question is quite closely related to this question but also goes beyond it. I am trying to implement the following LSTM in Keras where the number of timesteps be nb_tsteps=10 the number of input features is nb_feat=40 the number of LSTM cells at each time step is 120 the LSTM layer is followed by TimeDistributedDense layers From the question referenced above I understand that I have to present the input data as nb_samples, 10, 40 where I get nb_samples by rolling a window of length nb