Skip to content

Commit

Permalink
chore: Fix typo in GradientDescent class docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
icarosadero committed May 5, 2024
1 parent 6d55407 commit ad2109e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyduino/optimization/gradient_descent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}$$
Expand Down

0 comments on commit ad2109e

Please sign in to comment.