Last active
June 29, 2021 11:25
-
-
Save jeetaf/a0f32d45690d3142e503372e1c194ed3 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
epochs = 50 | |
model = Sequential() | |
model.add(Conv1D(filters=32, kernel_size=2, activation='relu', input_shape = (30,1))) | |
model.add(BatchNormalization()) | |
model.add(Dropout(0.2)) | |
model.add(Conv1D(filters=64, kernel_size=2, activation='relu')) | |
model.add(BatchNormalization()) | |
model.add(Dropout(0.5)) | |
model.add(Flatten()) | |
model.add(Dense(64, activation='relu')) | |
model.add(Dropout(0.5)) | |
model.add(Dense(1, activation='sigmoid')) | |
model.summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment