public Backpropagation(Perceptron perceptron, Data.LearningParam param)
        {
            this.perceptron = perceptron;
            this.param = param;
            layers = perceptron.Size;

            int n = perceptron.MaxLayerSize;
            w = new double[layers, n, n];
            w1 = new double[layers, n, n];
            endthread = true;
        }
Example #2
0
 public NetPage( frmMain frm,int nr, Hashtable inputData, Perceptron perceptron)
 {
     this.frm = frm;
     this.nr = nr;
     this.data = inputData;
     this.perceptron = perceptron;
     this.AutoScroll = true;
     comboBoxes = new List<ComboBox>();
     InitializeComponent();
     //setControls();
     initializeDataPanels();
     initializeRatios();
     backprop = new Backpropagation(perceptron, null);
 }
Example #3
0
 /** Adds new network to network list.*/
 public int AddNetwork( Data.NetworkParam param )
 {
     Perceptron newNetwork = new Perceptron(param);
     netList.Add( newNetwork);
     return netList.Count - 1;
 }