PySwarms
development

General

  • Introduction
  • Features
  • Installation
  • Credits
  • History

Examples

  • Tutorials
    • Basic Optimization
    • Training a Neural Network
    • Writing your own optimization loop
    • Visualization
  • Use-cases

Developer's Guide

  • Contributing
  • Understanding the PySwarms API
  • Writing your own optimization loop
  • Contributing your own optimizer

API Documentation

  • Backend
  • Base Classes
  • Optimizers
  • Utilities
PySwarms
  • Docs »
  • Tutorials
  • Edit on GitHub

TutorialsΒΆ

Below are some examples describing how the PySwarms API works. If you wish to check the actual Jupyter Notebooks, please go to this link

  • Basic Optimization
    • Optimizing a function
    • Optimizing a function with bounds
    • Basic Optimization with Arguments
      • Using Arguments
  • Training a Neural Network
    • Constructing a custom objective function
    • Performing PSO on the custom-function
    • Checking the accuracy
  • Writing your own optimization loop
    • Native global-best PSO implementation
  • Visualization
    • Plotting the cost history
    • Animating swarms
      • Plotting in 2-D space
      • Plotting in 3-D space
Next Previous

© Copyright 2017, Lester James V. Miranda Revision 323cfe1b.

Built with Sphinx using a theme provided by Read the Docs.