SSD
Module: opytimizer.optimizers.single_objective.social.ssd
An SSD class, inherited from Optimizer.
This is the designed class to define SSD-related variables and methods.
References: A. Tharwat and T. Gabel. Parameters optimization of support vector machines for imbalanced data using social ski driver algorithm. Neural Computing and Applications (2019).
Constructor
SSD(params: Optional[Dict[str, Any]] = None) -> None
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
params | Optional[Dict[str, Any]] | None | — |
Methods
compile
compile(self, space: opytimizer.core.space._SingleObjectiveSpace) -> None
Compiles additional information that is used by this optimizer.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
space | opytimizer.core.space._SingleObjectiveSpace | A Space object containing meta-information. |
evaluate
evaluate(self, space: opytimizer.core.space._SingleObjectiveSpace, function: opytimizer.core.function.Function) -> None
Evaluates the search space according to the objective function.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
space | opytimizer.core.space._SingleObjectiveSpace | A Space object that will be evaluated. | |
function | opytimizer.core.function.Function | A Function object that will be used as the objective function. |
update
update(self, space: opytimizer.core.space._SingleObjectiveSpace, function: opytimizer.core.function.Function) -> None
Wraps Social Ski Driver over all agents and variables.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
space | opytimizer.core.space._SingleObjectiveSpace | Space containing agents and update-related information. | |
function | opytimizer.core.function.Function | A Function object that will be used as the objective function. |