Search Results for

    Show / Hide Table of Contents

    Class RegressionStatistics

    Calculates statistics for a network which is used to predict continuous values (regression).

    Inheritance
    System.Object
    RegressionStatistics
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: BayesServer.Analysis
    Assembly: BayesServer.Analysis.dll
    Syntax
    [Obfuscation(Exclude = false)]
    public sealed class RegressionStatistics

    Properties

    MeanAbsoluteError

    Gets the mean absolute error (MAE), which is a common measure used to determine how close predictions are to the actual values.

    Declaration
    public double? MeanAbsoluteError { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>
    Remarks

    The mean absolute error is the average of the absolute errors.

    MeanActual

    Gets the mean of the actual column.

    Declaration
    public double? MeanActual { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    MeanSquaredError

    Gets the mean squared error (MSE), which is a common measure used to determine how close predictions are to the actual values.

    Declaration
    public double? MeanSquaredError { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>
    Remarks

    The mean squared error is the average of the squared errors.

    RMSE

    Gets the root mean squared error (RMSE).

    Declaration
    public double? RMSE { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    RSquared

    Gets the R squared value (Coefficient of determination).

    Declaration
    public double? RSquared { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    SumAbsoluteError

    Gets the sum absolute error (SAE).

    Declaration
    public double? SumAbsoluteError { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>
    Remarks

    The sum of the absolute errors.

    SumSquaredError

    Gets the sum of squared errors (SSE), which is a common measure used to determine how close predictions are to the actual values.

    Declaration
    public double? SumSquaredError { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Support

    Gets the support/weight for the values used to calculate the statistics. (May not be a whole number, if original weights are not).

    Declaration
    public double Support { get; }
    Property Value
    Type Description
    System.Double

    VarianceActual

    Gets the variance of the actual column.

    Declaration
    public double? VarianceActual { get; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Methods

    Create(IDataReaderCommand, String, String)

    Initializes a new instance of the RegressionStatistics class.

    Declaration
    public static RegressionStatistics Create(IDataReaderCommand readerCommand, string actual, string predicted)
    Parameters
    Type Name Description
    IDataReaderCommand readerCommand

    Returns the data containing the actual values and predicted values.

    System.String actual

    The name of the data column containing the actual value.

    System.String predicted

    The name of the data column containing the predicted value.

    Returns
    Type Description
    RegressionStatistics

    Create(IDataReaderCommand, String, String, String)

    Initializes a new instance of the RegressionStatistics class.

    Declaration
    public static RegressionStatistics Create(IDataReaderCommand readerCommand, string actual, string predicted, string caseWeight)
    Parameters
    Type Name Description
    IDataReaderCommand readerCommand

    Returns the data containing the actual values and predicted values.

    System.String actual

    The name of the data column containing the actual value.

    System.String predicted

    The name of the data column containing the predicted value.

    System.String caseWeight

    The case weight, if any. Can be null.

    Returns
    Type Description
    RegressionStatistics
    In This Article
    Back to top Copyright Bayes Server Ltd. All rights Reserved.