Exemplo n.º 1
0
        public ActionResult BeginRequest()
        {
            //genereate a new request and return an editor view
            var request      = new PawOgIsakRequest();
            var trainingData = DataHelper.LoadData("../../../MNIST/train-images.idx3-ubyte", "../../../MNIST/train-labels.idx1-ubyte", numberOfImages: 50000);

            var testData = DataHelper.LoadData("../../../MNIST/t10k-images.idx3-ubyte", "../../../MNIST/t10k-labels.idx1-ubyte", numberOfImages: 10000);

            request.TrainData = trainingData;
            request.TestData  = testData;

            request.Network = new NeuralNetwork();

            return(View(request));
        }
Exemplo n.º 2
0
 public ActionResult Submit(PawOgIsakRequest request)
 {
     return(RedirectToAction("CreateNetwork", "NeuralNetwork", new { request = request }));
 }