Wiki
linter / quality (push) Successful in 5m1s
tests / ci (8.4) (push) Successful in 5m8s
tests / ci (8.5) (push) Successful in 6m31s

This commit is contained in:
2026-09-15 19:44:58 +02:00
parent ca6c9fe38c
commit 6d4fdffee9
82 changed files with 29906 additions and 151 deletions
@@ -33,7 +33,7 @@ abstract class NetworkTraining
protected function checkPassedMaxIterations(?float $finalError)
{
if ($this->epoch >= $this->maxEpochs) {
$message = 'Le nombre maximal d\'epoch a été atteint';
$message = 'Le nombre maximal d\'époques a été atteint';
if ($finalError) {
$message .= " avec une erreur finale de $finalError";
}
@@ -42,6 +42,12 @@ abstract class NetworkTraining
}
}
protected function broadcastTrainingEnded(string $reason): void
{
$this->iterationEventBuffer->flush();
event(new PerceptronTrainingEnded($reason, $this->sessionId, $this->trainingId));
}
protected function addIterationToBuffer(float $error, array $synapticWeights)
{
$this->iterationEventBuffer->addIteration($this->epoch, $this->datasetReader->getLastReadLineIndex(), $error, $synapticWeights);