Skip to content

Instantly share code, notes, and snippets.

@adriaciurana
Last active January 23, 2019 10:06
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 adriaciurana/eecbf4692a81bd02d24336f58280746a to your computer and use it in GitHub Desktop.
Save adriaciurana/eecbf4692a81bd02d24336f58280746a to your computer and use it in GitHub Desktop.
Medium Articulo 3
# Usamos el optimizador Adam
# Usamos la loss function binary_crossentropy. Esta es util cuando la red devuelve una probabilidad, es este caso ser perro o ser gato.
model.compile(optimizer='adam', loss='binary_crossentropy', metrics=['binary_accuracy'])
model.summary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment