Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 2.62 KB

features.rst

File metadata and controls

69 lines (44 loc) · 2.62 KB

Features

Single-Objective Optimizers

These are standard optimization techniques for finding the optima of a single objective function.

Continuous

Single-objective optimization where the search-space is continuous. Perfect for optimizing various common functions.

Discrete

Single-objective optimization where the search-space is discrete. Useful for job-scheduling, traveling salesman, or any other sequence-based problems.

  • :mod:`pyswarms.discrete.binary` - classic binary Particle Swarm Optimization algorithm without mutation. Uses a ring topology to choose its neighbours (but can be set to global).

Utilities

Benchmark Functions

These functions can be used as benchmarks for assessing the performance of the optimization algorithm.

Search

These search methods can be used to compare the relative performance of hyperparameter value combinations in reducing a specified objective function.

  • :mod:`pyswarms.utils.search.grid_search` - exhaustive search of optimal performance on selected objective function over cartesian products of provided hyperparameter values
  • :mod:`pyswarms.utils.search.random_search` - search for optimal performance on selected objective function over combinations of randomly selected hyperparameter values within specified bounds for specified number of selection iterations

Plotters

A quick and easy to use tool for the visualization of optimizations. It allows you to easily create animations and to visually check your optimization!

Environment

.. deprecated:: 0.4.0
    Use :mod:`pyswarms.utils.plotters` instead!

Various environments that allow you to analyze your swarm performance and make visualizations!