Bi Lstm, Lstm, Machine Learning.
regression type. Let start with Data preparation. Feature transformation. Encoded and scaled data looks like below. LSTM model expects input in shape (Samples, Timesteps and Features). So below code transforms last four hours of data into as one row having all attributes of last 4 days with PM2.5