Created
November 8, 2019 04:33
-
-
Save analyticsindiamagazine/8410081e948c4b089c5ce942dc7541ae 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
model = tf.keras.models.Sequential([ | |
tf.keras.layers.InputLayer(input_shape = 26), | |
tf.keras.layers.Dense(100, activation=tf.nn.relu), | |
tf.keras.layers.Dropout(0.2), | |
tf.keras.layers.Dense(1), | |
]) | |
model.compile( | |
optimizer=’adam’, | |
loss='mean_squared_logarithmic_error', | |
metrics=['RootMeanSquaredError'], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment