Ejemplo n.º 1
0
 public void StartCIFARNetworkFromFile(string filename)
 {
     Service.CIFALoader loader;
     LoadCIFARDataSet(out loader);
     network = Service.XMLBridge.Load(filename);
     network.SGD(loader.Data, 1, 10, 3.0, loader.TestData);
 }
Ejemplo n.º 2
0
 public void StartMNISTNetworkFromFile(string filename)
 {
     Service.MNISTLoader loader;
     Service.MNISTLoader testLoader;
     LoadMNISTDataset(out loader, out testLoader);
     network = Service.XMLBridge.Load(filename);
     network.SGD(loader.Data, 2, 10, 0.5, testLoader.Data);
 }
Ejemplo n.º 3
0
        private void loadNetMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog dialog = new OpenFileDialog();

            dialog.Filter = "XML Files (*.xml) | *.xml";
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                network = Service.XMLBridge.Load(dialog.FileName);
            }
        }
Ejemplo n.º 4
0
        public void StartNewCIFARNetwork()
        {
            Service.CIFALoader loader;
            LoadCIFARDataSet(out loader);
            List <int> size = new List <int> {
                3072, 20, 7, 5, 10
            };

            network = new Core.NeuralNet(size);
            network.SGD(loader.Data, 2, 10, 3.0, loader.TestData);
        }
Ejemplo n.º 5
0
        public void StartNewMNISTNetwork()
        {
            Service.MNISTLoader loader;
            Service.MNISTLoader testLoader;
            LoadMNISTDataset(out loader, out testLoader);
            List <int> size = new List <int> {
                784, 30, 10
            };

            network = new Core.NeuralNet(size);
            network.SGD(loader.Data, 2, 10, 3.0, testLoader.Data);
        }