Last active
November 10, 2019 01:49
-
-
Save arseniyturin/0f550f54f1262ca9ee9926421929d06d to your computer and use it in GitHub Desktop.
This file contains 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
model = Sequential() | |
model.add(Conv1D(filters=500, kernel_size=10, activation='relu', input_shape=(n_steps, n_features))) | |
model.add(MaxPooling1D(pool_size=10)) | |
model.add(Flatten()) | |
model.add(Dense(500, activation='relu')) | |
model.add(Dense(100, activation='relu')) | |
model.add(Dense(1, activation='sigmoid')) | |
model.compile(optimizer='adam', loss='mse') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment