Demo entry 6780214

фывфывфывфывфвыф

   

Submitted by anonymous on Dec 23, 2018 at 17:28
Language: Python. Code size: 207 Bytes.

def predict_lstm(model, batch_size, X):
    #масштабирование данных
	X = X.reshape(1, 1, len(X))
    #получение прогноза на 1 шаг вперед
	yhat = model.predict(X, batch_size=batch_size)
	return yhat[0,0]

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).