Created
July 5, 2021 20:44
-
-
Save javaeeeee/71ed9bedea08f274f494fb18a744b0f5 to your computer and use it in GitHub Desktop.
Tensorflow Binary Classification Model
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
model = Sequential() | |
model.add(normalizer) | |
model.add(Dense(5, input_shape=(X_train.shape[1],), | |
activation='relu', kernel_initializer='he_normal')) | |
model.add(Dropout(0.2)) | |
model.add(Dense(5, activation="relu", | |
kernel_initializer='he_normal')) | |
model.add(Dropout(0.2)) | |
model.add(Dense(1, activation="sigmoid", | |
kernel_initializer="glorot_normal")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment