Search Results for

    Show / Hide Table of Contents

    Class Undirected

    Provides useful factors for undirected models.

    Inheritance
    Object
    Undirected
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Factors
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public class Undirected

    Methods

    Linear(Int32, Int32, Double)

    Implements a linear difference potential which has the value of exp( -|a-b|* logUnitCost ).

    Declaration
    public static void Linear(int a, int b, double logUnitCost)
    Parameters
    Type Name Description
    Int32 a
    Int32 b
    Double logUnitCost

    LinearTrunc(Int32, Int32, Double, Double)

    Implements a truncated linear difference potential which has the value of exp( - min( |a-b|* logUnitCost, maxCost) ).

    Declaration
    public static void LinearTrunc(int a, int b, double logUnitCost, double maxCost)
    Parameters
    Type Name Description
    Int32 a
    Int32 b
    Double logUnitCost
    Double maxCost

    Potts(Boolean, Boolean, Double)

    Implements an boolean Potts potential which has the value of 1 if a=b and exp(-logCost) otherwise.

    Declaration
    public static void Potts(bool a, bool b, double logCost)
    Parameters
    Type Name Description
    Boolean a
    Boolean b
    Double logCost
    Remarks

    See http://en.wikipedia.org/wiki/Potts_model

    Potts(Int32, Int32, Double)

    Implements an integer Potts potential which has the value of 1 if a=b and exp(-logCost) otherwise.

    Declaration
    public static void Potts(int a, int b, double logCost)
    Parameters
    Type Name Description
    Int32 a
    Int32 b
    Double logCost
    Remarks

    See http://en.wikipedia.org/wiki/Potts_model

    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.