Created
April 19, 2020 16:10
-
-
Save Muhammad-Yunus/f3e752e803ecab6b1379eccaa78ac23b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define Optimizer | |
| adam = Adam(learning_rate=learning_rate, beta_1=0.9, beta_2=0.999, amsgrad=False) | |
| # define model | |
| model = Sequential() | |
| model.add(Dense(m, activation='relu', input_dim=n)) | |
| model.add(Dense(M, activation='relu')) | |
| model.add(Dense(N, activation='linear')) | |
| model.compile(optimizer=adam, loss='mse') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment