generateTrainingSet(); // Train the model [$W, $b] = $nnClassifier->trainModel($X, $Y, 1000, 0.1); // Make predictions $predictions = $nnClassifier->predict([[0, 0, 1, 1], [0, 1, 1, 0]], $W, $b); $this->assertEquals([0, 0, 0, 1], $predictions); } }