MCordingley\Regression\Algorithm\GradientDescent\Schedule\Fixed::step PHP 메소드

step() 공개 메소드

public step ( integer $featureIndex ) : float
$featureIndex integer
리턴 float
    public function step(int $featureIndex) : float
    {
        return $this->stepSize;
    }

Usage Example

예제 #1
0
 public function testStep()
 {
     $schedule = new Fixed(1.0);
     $schedule->update([1.0]);
     static::assertEquals(1.0, $schedule->step(0));
 }