jina.optimizers.parameters

class jina.optimizers.parameters.OptimizationParameter(parameter_name, executor_name=None, prefix='JINA', env_var=None)[source]

Bases: object

classmethod to_yaml(representer, data)[source]

Required by pyyaml

classmethod from_yaml(constructor, node)[source]

Required by pyyaml

class jina.optimizers.parameters.IntegerParameter(low, high, step_size=1, log=False, *args, **kwargs)[source]

Bases: jina.optimizers.parameters.OptimizationParameter

to_optuna_args()[source]
class jina.optimizers.parameters.FloatParameter(low, high, step_size=None, log=False, *args, **kwargs)[source]

Bases: jina.optimizers.parameters.OptimizationParameter

to_optuna_args()[source]
class jina.optimizers.parameters.UniformParameter(low, high, *args, **kwargs)[source]

Bases: jina.optimizers.parameters.OptimizationParameter

to_optuna_args()[source]
class jina.optimizers.parameters.LogUniformParameter(low, high, *args, **kwargs)[source]

Bases: jina.optimizers.parameters.OptimizationParameter

to_optuna_args()[source]
class jina.optimizers.parameters.CategoricalParameter(choices, *args, **kwargs)[source]

Bases: jina.optimizers.parameters.OptimizationParameter

to_optuna_args()[source]
class jina.optimizers.parameters.DiscreteUniformParameter(low, high, q, *args, **kwargs)[source]

Bases: jina.optimizers.parameters.OptimizationParameter

to_optuna_args()[source]
jina.optimizers.parameters.load_optimization_parameters(filepath)[source]