public static NeuralNetworkConfiguration Open(string fileName)
        {
            BinaryFileSerializationManager fileManager = new BinaryFileSerializationManager();
            NeuralNetworkConfiguration     nnc         = (NeuralNetworkConfiguration)fileManager.Open(fileName);

            return(nnc);
        }
        private void saveNeuralNetworkConfiguration_FileOk(object sender, CancelEventArgs e)
        {
            NeuralNetworkConfiguration nnc = new NeuralNetworkConfiguration(_NeuralNetwork);

            NeuralNetworkSerializationManager.Save(nnc, saveNeuralNetworkConfiguration.FileName);
            MessageBox.Show("Archiecture Saved");
        }
        private void opnNeuralNetworkConfiguration_FileOk(object sender, CancelEventArgs e)
        {
            NeuralNetworkConfiguration nnc = NeuralNetworkSerializationManager.Open(opnNeuralNetworkConfiguration.FileName);

            if (_NeuralNetwork != null)
            {
                _NeuralNetwork.Dispose();
                _NeuralNetwork = null;
            }
        }
        public static void Save(NeuralNetworkConfiguration nnc, string fileName)
        {
            BinaryFileSerializationManager fileManager = new BinaryFileSerializationManager();

            fileManager.Save(fileName, nnc);
        }