Skip to content

🧠 Gradient-Based Algorithms ​

Optimization using gradient information.

This category contains 11 algorithms.

AlgorithmAcronymYearDescription
Adam with Decoupled Weight DecayADAMW2017Adam with Decoupled Weight Decay (AdamW) optimization algorithm.
AdamaxADAMAX2014Adamax optimization algorithm.
Adaptive DeltaADADELTA2012Adaptive Delta (AdaDelta) optimization algorithm.
Adaptive Gradient AlgorithmADAGRAD2011Adaptive Gradient Algorithm (AdaGrad) optimization algorithm.
Adaptive Moment EstimationADAM2014Adaptive Moment Estimation (Adam) optimization algorithm.
AMSGradAMSGRAD2018AMSGrad optimization algorithm.
Nesterov Accelerated GradientNAG1983Nesterov Accelerated Gradient (NAG) optimization algorithm.
Nesterov-accelerated Adaptive MomentNADAM2016Nesterov-accelerated Adaptive Moment Estimation (Nadam) optimization algorithm.
Root Mean Square PropagationRMSPROP2012Root Mean Square Propagation (RMSprop) optimization algorithm.
SGD with MomentumSGD-M1964Stochastic Gradient Descent with Momentum (SGD-M) optimization algorithm.
Stochastic Gradient DescentSGD1951Stochastic Gradient Descent (SGD) optimization algorithm.

Usage ​

Every optimizer shares the same interface:

python
from opt.gradient_based.adamw import AdamW
from opt.benchmark.functions import sphere

optimizer = AdamW(
    func=sphere,
    lower_bound=-5.12,
    upper_bound=5.12,
    dim=10,
    max_iter=500,
)
best_solution, best_fitness = optimizer.search()

See Also ​

Released under the MIT License.