Skip to content

Instantly share code, notes, and snippets.

@shshemi
Created August 28, 2019 16:26
Show Gist options
  • Save shshemi/0a2b5683eb268f15ff125f16b782d68b to your computer and use it in GitHub Desktop.
Save shshemi/0a2b5683eb268f15ff125f16b782d68b to your computer and use it in GitHub Desktop.
model.compile("adam",
knapsack_loss(input_weights, input_prices, cvc),
metrics=[binary_accuracy, metric_space_violation(input_weights),
metric_overprice(input_prices)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment