Data Science, Machine Learning, Artificial Intelligence, Technology, Fintech.
days for i in range(4): # Predicting 4 days next_prediction = model.predict(current_batch) next_prediction_reshaped = next_prediction.reshape(1, 1, 1) current_batch = np.append(current_batch[:, 1:, :], next_prediction_reshaped, axis=1)