Source

Stochastic#

A constant learning rate optimizer based on the original Stochastic Gradient Descent paper.

Parameters#

# Param Default Type Description
1 rate 0.01 float The learning rate that controls the global step size.

Example#

use Rubix\ML\NeuralNet\Optimizers\Stochastic;

$optimizer = new Stochastic(0.01);