Skip to content

Instantly share code, notes, and snippets.

@Vsanku01
Created May 30, 2020 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vsanku01/e1257bab79e9792fc51d8e63dda714f5 to your computer and use it in GitHub Desktop.
Save Vsanku01/e1257bab79e9792fc51d8e63dda714f5 to your computer and use it in GitHub Desktop.
TimeSeries Model
n_features = 1
model = Sequential()
model.add(SimpleRNN(50,input_shape = (length , n_features)))
model.add(Dense(1))
model.compile(optimizer='adam',loss='mse',metrics = ['accuracy'])
model.fit_generator(generator=generator,epochs=50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment