Search Results for

    Show / Hide Table of Contents

    Class Quality

    Attribute used to label Infer.NET components. They may be attached to algorithm classes, distribution classes, and operator classes. They may also be attached to any methods on these classes

    Inheritance
    Object
    Attribute
    Quality
    Inherited Members
    Attribute.Equals(Object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.Match(Object)
    Attribute.TypeId
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Microsoft.ML.Probabilistic.Factors.Attributes
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    [AttributeUsage(AttributeTargets.All, AllowMultiple = false)]
    public class Quality : Attribute
    Remarks

    Methods inherit the quality of their class. Classes are, by default, experimental.

    The compiler will convert static quality bands to a quality band for each generated statement of code. Depending on the error level and warning levels set in the compiler, Errors and/or warnings will be issued. In addition, a general warning/error may be issued for the algorithm.

    Constructors

    Quality(QualityBand)

    Constructor

    Declaration
    public Quality(QualityBand band)
    Parameters
    Type Name Description
    QualityBand band

    Fields

    Band

    Quality band

    Declaration
    public QualityBand Band
    Field Value
    Type Description
    QualityBand

    Methods

    GetQualityBand(MemberInfo)

    Gets the quality band associated with a member of a class

    Declaration
    public static QualityBand GetQualityBand(MemberInfo mi)
    Parameters
    Type Name Description
    MemberInfo mi

    Member info

    Returns
    Type Description
    QualityBand

    GetQualityBand(Type)

    Gets the quality band associated with a type. If this is an array type then the quality of the element is returned. If the type has generic parameters then the quality of the generic type is returned

    Declaration
    public static QualityBand GetQualityBand(Type t)
    Parameters
    Type Name Description
    Type t

    Type

    Returns
    Type Description
    QualityBand

    ToString()

    ToString override

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.