/// <summary> /// Calculate the score for the network. /// </summary> /// /// <param name="method">The network to calculate for.</param> /// <returns>The score.</returns> public double CalculateScore(IMLMethod method) { IMLRegression reg = (IMLRegression)method; return(CalculateRegressionError.CalculateError(reg, _training)); }
/// <summary> /// Calculate the score for the network. /// </summary> /// /// <param name="method">The network to calculate for.</param> /// <returns>The score.</returns> public double CalculateScore(IMLRegression method) { return(CalculateRegressionError.CalculateError(method, _training)); }