Esempio n. 1
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            this.OutText.Text = "NCI Test\r\n";

            this.TestImages[0] = new Bitmap("C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\In1.BMP");
            this.TestImages[1] = new Bitmap("C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\In2.BMP");
            this.TestImages[2] = new Bitmap("C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\In3.BMP");
//            this.TestImages[2] = new Bitmap("C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\In4.bmp");

            //MyBrain.AddLayerAfterInput(48, false); //.ConnectAllToForwardLayers(null);
//			MyBrain.AddLayerAfterInput(256, false);//.ConnectAllToForwardLayers(null);
            this.CompressionLayer = MyBrain.AddLayerAfterInput(CompressionSize, true);
//			MyBrain.AddLayerAfterInput(256, false);//.ConnectAllToForwardLayers(this.CompressionLayer);
            //MyBrain.AddLayerAfterInput(48, false); //.ConnectAllToForwardLayers(this.CompressionLayer);


            //this.CompressionLayer.ConnectAllToForwardLayers(null);
            //MyBrain.InLayer.ConnectAllToForwardLayers(this.CompressionLayer);

            //for( int Lcv = 0; Lcv < SegmentTotal; Lcv++)
            //	MyBrain.BackPropogateStructureTraining();


            //MyBrain.ConnectAllFeedForward();
            MyBrain.ConnectLayeredFeedForward();
        }