/// <summary> /// Internal method to determine the error for a neural network. /// </summary> /// <param name="network">The neural network that we are seeking a error rate for.</param> /// <returns>The error for the specified neural network.</returns> protected double DetermineError(FeedforwardNetwork network) { return(network.CalculateError(this.train, this.ideal)); }