Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. model = Sequential()
  2. model.add(Dense(SEGMENT_LEN, input_dim=SEGMENT_LEN, init='normal', activation='relu'))
  3. model.add(Dense(SEGMENT_LEN, init='normal', activation='relu'))
  4. model.add(Dense(1, init='normal'))
  5. model.compile(loss='mean_squared_error', optimizer='adam', metrics=['accuracy'])
  6. history = model.fit(X, Y, validation_split=0.33, nb_epoch=100, batch_size=100, verbose=0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement