Skip to content

Instantly share code, notes, and snippets.

@arnaldog12
Last active October 13, 2018 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnaldog12/d1d1140135d9c821a814afca4d4d2e74 to your computer and use it in GitHub Desktop.
Save arnaldog12/d1d1140135d9c821a814afca4d4d2e74 to your computer and use it in GitHub Desktop.
Medium Posts
model = Sequential()
model.add(Dense(units=20, activation='relu', kernel_regularizer='l2', input_dim=x.shape[1]))
model.add(Dense(units=10, activation='relu', kernel_regularizer='l2'))
model.add(Dense(units=3, activation='linear'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment