Skip to content

Instantly share code, notes, and snippets.

@fsndzomga
Last active October 28, 2023 17:21
Show Gist options
  • Save fsndzomga/9c40dc631d516f2a60238e3bce85f87a to your computer and use it in GitHub Desktop.
Save fsndzomga/9c40dc631d516f2a60238e3bce85f87a to your computer and use it in GitHub Desktop.
input_features:
- name: genres
type: set
- name: content_rating
type: category
- name: top_critic
type: binary
- name: runtime
type: number
- name: review_content
type: text
encoder:
type: embed
output_features:
- name: recommended
type: binary
hyperopt:
goal: maximize
output_feature: recommended
metric: accuracy
split: validation
parameters:
training.learning_rate:
space: loguniform
lower: 0.0001
upper: 0.1
training.optimizer.type:
space: choice
categories: [sgd, adam, adagrad]
review_content.embedding_size:
space: choice
categories: [128, 256]
search_alg:
type: variant_generator
executor:
num_samples: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment