Skip to content

Instantly share code, notes, and snippets.

@cj2001
Created November 2, 2021 20:41
Show Gist options
  • Save cj2001/631d375f903cf08ecc62160a5de873f5 to your computer and use it in GitHub Desktop.
Save cj2001/631d375f903cf08ecc62160a5de873f5 to your computer and use it in GitHub Desktop.
CORA create Optuna study
objective = objectiveSKLearn()
initial_params = {
'embeddingDimension': 64,
'thirdWeight': 0.5,
'fourthWeight': 1.0,
'normalizationStrength': -0.5
}
study = optuna.create_study(direction='maximize')
study.enqueue_trial(initial_params)
study.optimize(optuna_objective, n_trials=100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment