Show HN: Consensus-Based Optimization Visualized

4 months ago 3

This interactive demo showcases consensus-based optimization (CBO), a particle-based gradient-free method for solving optimization problems.

The algorithm is implemented via the CBXPy library 🐍.

CBXPy Logo

⚙️ You can adjust parameters, select different loss functions and drag around the global minimum. The usage is optimized for laptops/desktops but mobile should also work.

📝 Credit: Tim Roith

Read Entire Article