Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kaggle/docker-python
/ objective
Method
objective
tests/test_optuna.py:10–12 ·
view source on GitHub ↗
(trial)
Source
from the content-addressed store, hash-verified
8
def
test_study(self):
9
10
def
objective(trial):
11
x = trial.suggest_uniform(
'x'
, -1., 1.)
12
return
x ** 2
13
14
n_trials = 20
15
study = optuna.create_study()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected