Nevergrad is a Python library for derivative-free optimization, offering robust implementations of many algorithms suited for black-box functions (i.e. functions where gradients are unavailable or unreliable). It targets hyperparameter search, architecture search, control problems, and experimental tuning—domains in which gradient-based methods may fail or be inapplicable. The library provides an easy interface to define an optimization problem (parameter space, loss function, budget) and then experiment with multiple strategies—evolutionary algorithms, Bayesian optimization, bandit methods, genetic algorithms, etc. Nevergrad supports parallelization, budget scheduling, and multiple cost/resource constraints, allowing it to scale to nontrivial optimization problems. It includes visualization tools and diagnostic metrics to compare strategy performance, track parameter evolution, and detect stagnation.

Features

  • Multiple derivative-free optimization algorithms (evolution, Bayesian, bandits, genetic)
  • Support for parallel execution and distributed evaluation of candidate solutions
  • Budget and constraint management (e.g. total evaluations, cost limits)
  • Visualization and diagnostic tools for optimization trajectories and performance
  • Easy problem definition API (parameter spaces, loss functions, budgets)
  • Strategy comparison framework to test and compare optimizers systematically

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Nevergrad

Nevergrad Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Nevergrad!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Libraries

Registered

2025-10-07