MCordingley\Regression\Tests\Algorithm\GradientDescent\Gradient\LogisticTest::testGradient PHP Méthode

testGradient() public méthode

public testGradient ( )
    public function testGradient()
    {
        $gradient = new Logistic();
        static::assertEquals([-4.238405844044236], $gradient->gradient([1.0], [2.0], 3.0));
    }