상속: implements MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria
예제 #1
0
 public function testConverged()
 {
     $criteria = new MaxIterations(5);
     static::assertFalse($criteria->converged([], []));
     static::assertFalse($criteria->converged([], []));
     static::assertFalse($criteria->converged([], []));
     static::assertFalse($criteria->converged([], []));
     static::assertTrue($criteria->converged([], []));
 }