protected internal override void InitializeNewRun() { base.InitializeNewRun(); qsa = new QuantumStabilizerAlgorithm(LearningConnections.Select(c => new QuantumWeight(c.Connection)), qsaStrength, false); lastMSE = 1.0; }
protected internal override void InitializeNewRun(AlgoInitializationMode mode) { base.InitializeNewRun(mode); if (mode == AlgoInitializationMode.Startup) { qsa = new QuantumStabilizerAlgorithm(LearningConnections.Select(c => new QuantumWeight(c.Connection)), qsaStrength, false); lastMSE = double.MaxValue; } }