Renamed tests + added some + misc
Some checks failed
linter / quality (push) Successful in 7m39s
tests / ci (8.4) (push) Successful in 6m10s
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
2026-03-22 16:57:12 +01:00
parent abb16aa6c1
commit 88a932391b
5 changed files with 49 additions and 7 deletions

View File

@@ -82,7 +82,7 @@ class ADALINEPerceptronTraining extends NetworkTraining
protected function stopCondition(): bool
{
$condition = $this->epochError <= $this->minError && $this->perceptron->getSynapticWeights() !== [[0.0, 0.0, 0.0]];
$condition = $this->epochError <= $this->minError;
if ($condition === true) {
event(new PerceptronTrainingEnded('Le perceptron à atteint l\'erreur minimale', $this->sessionId, $this->trainingId));
}