Skip to content

Instantly share code, notes, and snippets.

@phil8192
Created April 3, 2020 20:26
Show Gist options
  • Select an option

  • Save phil8192/c57bfa1f5c92ca3d3416e44e90f0b0eb to your computer and use it in GitHub Desktop.

Select an option

Save phil8192/c57bfa1f5c92ca3d3416e44e90f0b0eb to your computer and use it in GitHub Desktop.
def batch_train(model, X, y, classes, epochs, batch_size, randomise):
for _ in range(0, epochs):
batch_update(model, X, y, classes, batch_size, randomise)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment