private NeuralNetworkCls GetSerializedCls()
        {
            string           path         = Environment.CurrentDirectory + "\\Serialized\\BestOne.txt";
            NeuralNetworkCls serializedNn = StaticMethodsClass.ReadFromBinaryFile <NeuralNetworkCls>(path);

            return(serializedNn);
        }
Exemple #2
0
        public void OnBackPropagationEnded()
        {
            if (IsExcelTest)
            {
                string path = Environment.CurrentDirectory + "\\ExternalFiles\\ExcelTwoSixThreeTwo.txt";
                //WriteToBinaryFile(path, this);

                NeuralNetworkCls nnFromEcel = StaticMethodsClass.ReadFromBinaryFile <NeuralNetworkCls>(path);
                CheckIfNeuralNetworksAreEqual(nnFromEcel, this);
            }
        }