From ad2109e00e1524842e344e83240c7431340d85a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dcaro?= Date: Sun, 5 May 2024 14:23:13 -0300 Subject: [PATCH] chore: Fix typo in GradientDescent class docstring --- pyduino/optimization/gradient_descent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyduino/optimization/gradient_descent.py b/pyduino/optimization/gradient_descent.py index 8bbe0e1..c3bb962 100644 --- a/pyduino/optimization/gradient_descent.py +++ b/pyduino/optimization/gradient_descent.py @@ -3,7 +3,7 @@ class GradientDescent(Optimizer): def __init__(self, population_size: int, ranges: list[float], damping: float = 0.01, rng_seed: int = 0): - """ + r""" This gradient descent algorithm assumes that the optimization function 'f' is to be minimized, differentiable, and time independent. $$\frac{\mathrm{d} f}{\mathrm{d} t} = \frac{\partial f}{\partial \vec{x}}\frac{\mathrm{d} \vec{x}}{\mathrm{d} t}$$