private void PerformPreTraining(int PPreSynapticLayer)
        {
            RBMLearningRate sentlearnrate = new RBMLearningRate(learnrate.prelrweights[PPreSynapticLayer]
                                                                , learnrate.prelrbiases[PPreSynapticLayer]
                                                                , learnrate.premomweights[PPreSynapticLayer]
                                                                , learnrate.premombiases[PPreSynapticLayer]);

            RBMTrainer.Train(layers[PPreSynapticLayer], layers[PPreSynapticLayer + 1], trainingdata[PPreSynapticLayer]
                             , sentlearnrate, recognitionweights.GetWeightSet(PPreSynapticLayer));
        }
Пример #2
0
 private void PerformTraining()
 {
     RBMTrainer.Train(visibles, hiddens, trainingdata, learnrate, weights);
 }