optuna 4.8.0
Version history | Download JSON
-
PyPI https://pypi.org/project/optuna/ Repository https://github.com/optuna/optuna -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 2035 "Any" : 57 "Untyped" : 73 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 204 "classes" : 1877 "other" : 25- 51 functions (+0 overloads)
- 153 parameters
- 106 classes
- 620 methods (+20 overloads)
- 1201 parameters
- 47 properties
- 620 methods (+20 overloads)
- 134 modules
- 25 attrs
- 51 functions (+0 overloads)
Modules
Incomplete Annotations
optuna.artifacts._boto3 (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
Boto3ArtifactStore.bucket |
1 | 0 | 0 |
attr |
Boto3ArtifactStore.client |
1 | 0 | 0 |
optuna.artifacts._gcs (3 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
GCSArtifactStore.bucket_name |
1 | 0 | 0 |
attr |
GCSArtifactStore.client |
1 | 0 | 0 |
attr |
GCSArtifactStore.bucket_obj |
1 | 0 | 0 |
optuna.cli (2 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
CellValue.init |
2 | 2 | 1 |
attr |
CellValue.value |
1 | 0 | 0 |
attr |
CellValue.value_type |
1 | 0 | 0 |
optuna.distributions (9 missing, 4 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
CategoricalDistribution.eq |
2 | 2 | 1 |
attr |
CategoricalDistribution.choices |
1 | 0 | 0 |
attr |
IntDistribution.log |
1 | 0 | 0 |
attr |
IntDistribution.step |
1 | 0 | 0 |
attr |
IntDistribution.low |
1 | 0 | 0 |
attr |
IntDistribution.high |
1 | 0 | 0 |
meth |
BaseDistribution.to_external_repr |
2 | 2 | 1 |
meth |
BaseDistribution.to_internal_repr |
2 | 2 | 1 |
meth |
BaseDistribution.eq |
2 | 2 | 1 |
attr |
FloatDistribution.step |
1 | 0 | 0 |
attr |
FloatDistribution.low |
1 | 0 | 0 |
attr |
FloatDistribution.high |
1 | 0 | 0 |
attr |
FloatDistribution.log |
1 | 0 | 0 |
optuna.integration (3 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
LightGBMTuner |
1 | 0 | 0 |
attr |
LightGBMTunerCV |
1 | 0 | 0 |
attr |
LightGBMPruningCallback |
1 | 0 | 0 |
optuna.integration.lightgbm (4 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
train |
1 | 0 | 0 |
attr |
LightGBMTuner |
1 | 0 | 0 |
attr |
LightGBMTunerCV |
1 | 0 | 0 |
attr |
LightGBMPruningCallback |
1 | 0 | 0 |
optuna.samplers._base (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
BaseSampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._brute_force (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
BruteForceSampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._cmaes (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
CmaEsSampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._ga._base (2 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
BaseGASampler.init_subclass |
2 | 1 | 1 |
meth |
BaseGASampler.init |
2 | 1 | 0 |
optuna.samplers._gp.sampler (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
GPSampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._grid (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
GridSampler.sample_independent |
5 | 5 | 1 |
meth |
GridSampler._check_value |
3 | 3 | 1 |
optuna.samplers._nsgaiii._sampler (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
NSGAIIISampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._partial_fixed (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
PartialFixedSampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._qmc (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
QMCSampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._random (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
RandomSampler.sample_independent |
5 | 5 | 1 |
optuna.samplers._tpe.sampler (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
TPESampler.sample_independent |
5 | 5 | 1 |
optuna.samplers.nsgaii._sampler (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
NSGAIISampler.sample_independent |
5 | 5 | 1 |
optuna.storages._base (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
BaseStorage.set_study_user_attr |
4 | 4 | 1 |
meth |
BaseStorage.set_trial_user_attr |
4 | 4 | 1 |
optuna.storages._cached_storage (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
_CachedStorage.set_study_user_attr |
4 | 4 | 1 |
meth |
_CachedStorage.set_trial_user_attr |
4 | 4 | 1 |
optuna.storages._grpc.client (0 missing, 4 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
GrpcStorageProxy.set_study_user_attr |
4 | 4 | 1 |
meth |
GrpcStorageProxy.set_study_system_attr |
4 | 4 | 1 |
meth |
GrpcStorageProxy.set_trial_user_attr |
4 | 4 | 1 |
meth |
GrpcStorageProxy.set_trial_system_attr |
4 | 4 | 1 |
optuna.storages._in_memory (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
InMemoryStorage.set_study_user_attr |
4 | 4 | 1 |
meth |
InMemoryStorage.set_trial_user_attr |
4 | 4 | 1 |
optuna.storages._rdb.storage (8 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
RDBStorage.set_study_user_attr |
4 | 4 | 1 |
meth |
RDBStorage.set_trial_user_attr |
4 | 4 | 1 |
meth |
RDBStorage._set_trial_attr_without_commit |
6 | 6 | 1 |
attr |
RDBStorage.engine_kwargs |
1 | 0 | 0 |
attr |
RDBStorage.url |
1 | 0 | 0 |
attr |
RDBStorage.skip_compatibility_check |
1 | 0 | 0 |
attr |
RDBStorage.heartbeat_interval |
1 | 0 | 0 |
attr |
RDBStorage.grace_period |
1 | 0 | 0 |
attr |
RDBStorage.failed_trial_callback |
1 | 0 | 0 |
attr |
RDBStorage.scoped_session |
1 | 0 | 0 |
attr |
RDBStorage.engine |
1 | 0 | 0 |
optuna.storages.journal._file (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
JournalFileOpenLock.grace_period |
1 | 0 | 0 |
attr |
JournalFileSymlinkLock.grace_period |
1 | 0 | 0 |
optuna.storages.journal._storage (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
JournalStorage.set_study_user_attr |
4 | 4 | 1 |
meth |
JournalStorage.set_trial_user_attr |
4 | 4 | 1 |
optuna.study._study_summary (6 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
StudySummary.init |
10 | 9 | 0 |
meth |
StudySummary.eq |
2 | 2 | 1 |
meth |
StudySummary.lt |
2 | 2 | 1 |
meth |
StudySummary.le |
2 | 2 | 1 |
attr |
StudySummary.study_name |
1 | 0 | 0 |
attr |
StudySummary.best_trial |
1 | 0 | 0 |
attr |
StudySummary.user_attrs |
1 | 0 | 0 |
attr |
StudySummary.n_trials |
1 | 0 | 0 |
attr |
StudySummary.datetime_start |
1 | 0 | 0 |
optuna.study.study (3 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Study.set_user_attr |
3 | 3 | 1 |
meth |
Study.set_system_attr |
3 | 3 | 1 |
attr |
Study.study_name |
1 | 0 | 0 |
attr |
Study.sampler |
1 | 0 | 0 |
attr |
Study.pruner |
1 | 0 | 0 |
optuna.terminator.improvement.emmr (7 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
EMMREvaluator.min_n_trials |
1 | 0 | 0 |
attr |
scipy_stats |
1 | 0 | 0 |
attr |
gp |
1 | 0 | 0 |
attr |
torch |
1 | 0 | 0 |
attr |
acqf_module |
1 | 0 | 0 |
attr |
gp_search_space |
1 | 0 | 0 |
attr |
prior |
1 | 0 | 0 |
optuna.terminator.improvement.evaluator (5 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
optim_sample |
1 | 0 | 0 |
attr |
gp |
1 | 0 | 0 |
attr |
acqf_module |
1 | 0 | 0 |
attr |
gp_search_space |
1 | 0 | 0 |
attr |
prior |
1 | 0 | 0 |
optuna.testing.pruners (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
DeterministicPruner.is_pruning |
1 | 0 | 0 |
optuna.testing.pytest_samplers (3 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
FixedSampler.init |
4 | 4 | 1 |
meth |
FixedSampler.sample_independent |
5 | 5 | 1 |
attr |
FixedSampler.relative_search_space |
1 | 0 | 0 |
attr |
FixedSampler.relative_params |
1 | 0 | 0 |
attr |
FixedSampler.unknown_param_value |
1 | 0 | 0 |
optuna.testing.pytest_storages (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
ALL_STATES |
1 | 0 | 0 |
attr |
FLOAT_ATTRS |
1 | 0 | 0 |
optuna.testing.samplers (1 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
DeterministicSampler.sample_independent |
5 | 5 | 1 |
attr |
DeterministicSampler.params |
1 | 0 | 0 |
optuna.testing.storages (3 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
grpc |
1 | 0 | 0 |
meth |
StorageSupplier.init |
3 | 3 | 1 |
attr |
StorageSupplier.storage_specifier |
1 | 0 | 0 |
attr |
StorageSupplier.extra_args |
1 | 0 | 0 |
optuna.testing.tempfile_pool (1 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
NamedTemporaryFilePool.init |
2 | 2 | 1 |
attr |
NamedTemporaryFilePool.kwargs |
1 | 0 | 0 |
optuna.trial._base (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
BaseTrial.set_user_attr |
3 | 3 | 1 |
meth |
BaseTrial.set_system_attr |
3 | 3 | 1 |
optuna.trial._fixed (0 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
FixedTrial.set_user_attr |
3 | 3 | 1 |
meth |
FixedTrial.set_system_attr |
3 | 3 | 1 |
meth |
FixedTrial._suggest |
3 | 3 | 1 |
optuna.trial._frozen (4 missing, 6 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
FrozenTrial.eq |
2 | 2 | 1 |
meth |
FrozenTrial.lt |
2 | 2 | 1 |
meth |
FrozenTrial.le |
2 | 2 | 1 |
meth |
FrozenTrial.set_user_attr |
3 | 3 | 1 |
meth |
FrozenTrial.set_system_attr |
3 | 3 | 1 |
meth |
FrozenTrial._suggest |
3 | 3 | 1 |
attr |
FrozenTrial.state |
1 | 0 | 0 |
attr |
FrozenTrial.datetime_complete |
1 | 0 | 0 |
attr |
FrozenTrial.intermediate_values |
1 | 0 | 0 |
attr |
FrozenTrial.values |
1 | 0 | 0 |
optuna.trial._trial (2 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Trial.set_user_attr |
3 | 3 | 1 |
meth |
Trial.set_system_attr |
3 | 3 | 1 |
meth |
Trial._suggest |
3 | 3 | 1 |
attr |
Trial.study |
1 | 0 | 0 |
attr |
Trial.storage |
1 | 0 | 0 |
Type-Ignore Comments
No type-ignore comments.