public void RecognizeTest()
        {
            IBackPropagation target = CreateIBackPropagation(); // TODO: Initialize to an appropriate value

            double[] Input                    = null;           // TODO: Initialize to an appropriate value
            string   MatchedHigh              = string.Empty;   // TODO: Initialize to an appropriate value
            string   MatchedHighExpected      = string.Empty;   // TODO: Initialize to an appropriate value
            double   OutputValueHight         = 0F;             // TODO: Initialize to an appropriate value
            double   OutputValueHightExpected = 0F;             // TODO: Initialize to an appropriate value
            string   MatchedLow               = string.Empty;   // TODO: Initialize to an appropriate value
            string   MatchedLowExpected       = string.Empty;   // TODO: Initialize to an appropriate value
            double   OutputValueLow           = 0F;             // TODO: Initialize to an appropriate value
            double   OutputValueLowExpected   = 0F;             // TODO: Initialize to an appropriate value

            target.Recognize(Input, ref MatchedHigh, ref OutputValueHight, ref MatchedLow, ref OutputValueLow);
            Assert.AreEqual(MatchedHighExpected, MatchedHigh);
            Assert.AreEqual(OutputValueHightExpected, OutputValueHight);
            Assert.AreEqual(MatchedLowExpected, MatchedLow);
            Assert.AreEqual(OutputValueLowExpected, OutputValueLow);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Esempio n. 2
0
 public void Recognize(double[] Input, ref T MatchedHigh, ref double OutputValueHight,
                       ref T MatchedLow, ref double OutputValueLow)
 {
     NeuralNet.Recognize(Input, ref MatchedHigh, ref OutputValueHight, ref MatchedLow, ref OutputValueLow);
 }
 public void Recognize(double[] input, ref string matchedHigh, ref double outputValueHight,
                       ref string matchedLow, ref double outputValueLow)
 {
     _neuralNet.Recognize(input, ref matchedHigh, ref outputValueHight, ref matchedLow, ref outputValueLow);
 }
 public void Recognize(double[] Input, RecognizeModel recognizeModel)
 {
     _neuralNet.Recognize(Input, recognizeModel);
 }