Exemple #1
0
 //печать НН
 private void NNPrint(NeuralNetwork NN, bool isShowNN)
 {
     console.AppendText(NN.AllInfo());
     if (isShowNN)
     {
         List <List <string> > textNN = NN.GetText();
         int numLayer = 1;
         foreach (var layerText in textNN)
         {
             int numNeuron = 1;
             console.AppendText("layer" + numLayer + ":\r\n");
             foreach (var neuronText in layerText)
             {
                 console.AppendText(numNeuron + ") " + neuronText);
                 numNeuron++;
             }
             console.AppendText("\r\n");
             numLayer++;
         }
     }
     console.AppendText("\r\n");
 }