Search Results for

    Show / Hide Table of Contents

    Struct FalseAndTruePositiveRate

    Struct which holds both the FPR and TPR

    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Microsoft.ML.Probabilistic.Learners
    Assembly: Microsoft.ML.Probabilistic.Learners.dll
    Syntax
    public struct FalseAndTruePositiveRate

    Constructors

    FalseAndTruePositiveRate(Double, Double)

    Initializes a new instance of the FalseAndTruePositiveRate struct.

    Declaration
    public FalseAndTruePositiveRate(double falsePositiveRate, double truePositiveRate)
    Parameters
    Type Name Description
    Double falsePositiveRate

    The false positive rate (FPR)

    Double truePositiveRate

    The true positive rate (TPR)

    Fields

    FalsePositiveRate

    Gets the FalsePositiveRate.

    Declaration
    public readonly double FalsePositiveRate
    Field Value
    Type Description
    Double

    TruePositiveRate

    Gets the TruePositiveRate

    Declaration
    public readonly double TruePositiveRate
    Field Value
    Type Description
    Double

    Methods

    Equals(Object)

    Checks if this object is equal to obj.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare this object with.

    Returns
    Type Description
    Boolean

    true if this object is equal to obj, false otherwise.

    Overrides
    ValueType.Equals(Object)

    GetHashCode()

    Computes the hash code of this object.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    The computed hash code.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Gets the string representation of this FalseAndTruePositiveRate.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    The string representation of the FalseAndTruePositiveRate.

    Overrides
    ValueType.ToString()
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.