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