Skip to content

Instantly share code, notes, and snippets.

@IlievskiV
Created December 21, 2021 23:40
Show Gist options
  • Save IlievskiV/a5f56b133543796dce3540eacb5a4836 to your computer and use it in GitHub Desktop.
Save IlievskiV/a5f56b133543796dce3540eacb5a4836 to your computer and use it in GitHub Desktop.
from keras.metrics import BinaryAccuracy, Precision, Recall
METRICS = [
BinaryAccuracy(name='accuracy'),
Precision(name='precision'),
Recall(name='recall'),
] # metrics to track
# hyperparameters to track
embedding_size = [32, 128]
dropout = [0.01, 0.1]
filters = [16, 32, 64]
kernel_size = [3, 5, 7]
pool_size = [2, 4]
lstm_output_size = [16, 64]
batch_size = [8, 16, 32]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment