Пример #1
0
        private static void SetupNetwork()
        {
            //if (GetBool("Do you want to read from the space delimited data.txt file? (yes/no/exit)"))
            //{
            SetupFromFile();
            //}
            //else
            //{
            //	SetNumInputParameters();
            //	SetNumNeuronsInHiddenLayer();
            //	SetNumOutputParameters();
            //	GetTrainingData();
            //}

            Console.WriteLine("Creating Network...");
            _network = new Network.Network(_numInputParameters, _numHiddenLayerNeurons, _numOutputParameters);
            PrintNewLine();
        }
Пример #2
0
        private static void SetupNetwork()
        {
            if (GetBool("Do you want to read from the space delimited data.txt file? (yes/no/exit)"))
            {
                SetupFromFile();
            }
            else
            {
                SetNumInputParameters();
                SetNumNeuronsInHiddenLayer();
                SetNumOutputParameters();
                GetTrainingData();
            }

            Console.WriteLine("Creating Network...");
            _network = new Network.Network(_numInputParameters, _numHiddenLayerNeurons, _numOutputParameters);
            PrintNewLine();
        }
Пример #3
0
 public Autoencoder(int inputSize, int hiddenSize, double?learnRate = null, double?momentum = null)
 {
     nw = new Network(inputSize, hiddenSize, inputSize, learnRate, momentum);
 }