Search Results for

    Show / Hide Table of Contents

    Class MatchboxRatingPrediction_EP

    Inheritance
    Object
    MatchboxRatingPrediction_EP
    Implements
    IGeneratedAlgorithm
    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.Learners.MatchboxRecommenderInternal
    Assembly: Microsoft.ML.Probabilistic.Learners.Recommender.dll
    Syntax
    public class MatchboxRatingPrediction_EP : IGeneratedAlgorithm

    Fields

    Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User27_isDone

    True if Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User27 has executed. Set this to false to force re-execution of Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User27

    Declaration
    public bool Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User27_isDone
    Field Value
    Type Description
    Boolean

    Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User29_isDone

    True if Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User29 has executed. Set this to false to force re-execution of Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User29

    Declaration
    public bool Changed_AffinityNoiseVariance_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_User29_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemBiasPrior_isDone

    True if Changed_ItemBiasPrior has executed. Set this to false to force re-execution of Changed_ItemBiasPrior

    Declaration
    public bool Changed_ItemBiasPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserBiasPrior_UserIds_User26_isDone

    True if Changed_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserBiasPrior_UserIds_User26 has executed. Set this to false to force re-execution of Changed_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserBiasPrior_UserIds_User26

    Declaration
    public bool Changed_ItemBiasPrior_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserBiasPrior_UserIds_User26_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemBiasPrior_ItemIds_ObservationCount_isDone

    True if Changed_ItemBiasPrior_ItemIds_ObservationCount has executed. Set this to false to force re-execution of Changed_ItemBiasPrior_ItemIds_ObservationCount

    Declaration
    public bool Changed_ItemBiasPrior_ItemIds_ObservationCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemBiasPrior_ItemIds_ObservationCount_UserBiasPrior_UserIds_isDone

    True if Changed_ItemBiasPrior_ItemIds_ObservationCount_UserBiasPrior_UserIds has executed. Set this to false to force re-execution of Changed_ItemBiasPrior_ItemIds_ObservationCount_UserBiasPrior_UserIds

    Declaration
    public bool Changed_ItemBiasPrior_ItemIds_ObservationCount_UserBiasPrior_UserIds_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemIds_ItemTraitsPrior_ObservationCount_isDone

    True if Changed_ItemIds_ItemTraitsPrior_ObservationCount has executed. Set this to false to force re-execution of Changed_ItemIds_ItemTraitsPrior_ObservationCount

    Declaration
    public bool Changed_ItemIds_ItemTraitsPrior_ObservationCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_isDone

    True if Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount has executed. Set this to false to force re-execution of Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount

    Declaration
    public bool Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserIds_UserTraitsPrior_isDone

    True if Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserIds_UserTraitsPrior has executed. Set this to false to force re-execution of Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserIds_UserTraitsPrior

    Declaration
    public bool Changed_ItemIds_ItemTraitsPrior_ObservationCount_TraitCount_UserIds_UserTraitsPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_ItemTraitsPrior_isDone

    True if Changed_ItemTraitsPrior has executed. Set this to false to force re-execution of Changed_ItemTraitsPrior

    Declaration
    public bool Changed_ItemTraitsPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_isDone

    True if Changed_ObservationCount has executed. Set this to false to force re-execution of Changed_ObservationCount

    Declaration
    public bool Changed_ObservationCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_TraitCount_isDone

    True if Changed_ObservationCount_TraitCount has executed. Set this to false to force re-execution of Changed_ObservationCount_TraitCount

    Declaration
    public bool Changed_ObservationCount_TraitCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_TraitCount_UserIds_UserTraitsPrior_isDone

    True if Changed_ObservationCount_TraitCount_UserIds_UserTraitsPrior has executed. Set this to false to force re-execution of Changed_ObservationCount_TraitCount_UserIds_UserTraitsPrior

    Declaration
    public bool Changed_ObservationCount_TraitCount_UserIds_UserTraitsPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UserBiasPrior_UserIds_isDone

    True if Changed_ObservationCount_UserBiasPrior_UserIds has executed. Set this to false to force re-execution of Changed_ObservationCount_UserBiasPrior_UserIds

    Declaration
    public bool Changed_ObservationCount_UserBiasPrior_UserIds_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdNoiseVariance_UserThresholdsPrior_U28_isDone

    True if Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdNoiseVariance_UserThresholdsPrior_U28 has executed. Set this to false to force re-execution of Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdNoiseVariance_UserThresholdsPrior_U28

    Declaration
    public bool Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdNoiseVariance_UserThresholdsPrior_U28_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds_isDone

    True if Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds

    Declaration
    public bool Changed_ObservationCount_UserIds_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UserIds_UserTraitsPrior_isDone

    True if Changed_ObservationCount_UserIds_UserTraitsPrior has executed. Set this to false to force re-execution of Changed_ObservationCount_UserIds_UserTraitsPrior

    Declaration
    public bool Changed_ObservationCount_UserIds_UserTraitsPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UserThresholdCount_isDone

    True if Changed_ObservationCount_UserThresholdCount has executed. Set this to false to force re-execution of Changed_ObservationCount_UserThresholdCount

    Declaration
    public bool Changed_ObservationCount_UserThresholdCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds_isDone

    True if Changed_ObservationCount_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_ObservationCount_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds

    Declaration
    public bool Changed_ObservationCount_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UserThresholdCount_UseSharedUserThresholds_isDone

    True if Changed_ObservationCount_UserThresholdCount_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_ObservationCount_UserThresholdCount_UseSharedUserThresholds

    Declaration
    public bool Changed_ObservationCount_UserThresholdCount_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Changed_ObservationCount_UseSharedUserThresholds_isDone

    True if Changed_ObservationCount_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_ObservationCount_UseSharedUserThresholds

    Declaration
    public bool Changed_ObservationCount_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Changed_UserBiasPrior_isDone

    True if Changed_UserBiasPrior has executed. Set this to false to force re-execution of Changed_UserBiasPrior

    Declaration
    public bool Changed_UserBiasPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_UserThresholdCount_isDone

    True if Changed_UserThresholdCount has executed. Set this to false to force re-execution of Changed_UserThresholdCount

    Declaration
    public bool Changed_UserThresholdCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds_isDone

    True if Changed_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds

    Declaration
    public bool Changed_UserThresholdCount_UserThresholdsPrior_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Changed_UserThresholdCount_UseSharedUserThresholds_isDone

    True if Changed_UserThresholdCount_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_UserThresholdCount_UseSharedUserThresholds

    Declaration
    public bool Changed_UserThresholdCount_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Changed_UserThresholdsPrior_isDone

    True if Changed_UserThresholdsPrior has executed. Set this to false to force re-execution of Changed_UserThresholdsPrior

    Declaration
    public bool Changed_UserThresholdsPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_UserThresholdsPrior_UseSharedUserThresholds_isDone

    True if Changed_UserThresholdsPrior_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_UserThresholdsPrior_UseSharedUserThresholds

    Declaration
    public bool Changed_UserThresholdsPrior_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Changed_UserTraitsPrior_isDone

    True if Changed_UserTraitsPrior has executed. Set this to false to force re-execution of Changed_UserTraitsPrior

    Declaration
    public bool Changed_UserTraitsPrior_isDone
    Field Value
    Type Description
    Boolean

    Changed_UseSharedUserThresholds_isDone

    True if Changed_UseSharedUserThresholds has executed. Set this to false to force re-execution of Changed_UseSharedUserThresholds

    Declaration
    public bool Changed_UseSharedUserThresholds_isDone
    Field Value
    Type Description
    Boolean

    Constant_isDone

    True if Constant has executed. Set this to false to force re-execution of Constant

    Declaration
    public bool Constant_isDone
    Field Value
    Type Description
    Boolean

    CurrentRating_reduced

    Declaration
    public int[] CurrentRating_reduced
    Field Value
    Type Description
    Int32[]

    ItemBias_itemItemIds_observation__F

    Declaration
    public DistributionStructArray<Gaussian, double> ItemBias_itemItemIds_observation__F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    ItemBias_use_B

    Message from use of 'ItemBias'

    Declaration
    public DistributionStructArray<Gaussian, double> ItemBias_use_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    ItemBias_use_F_marginal

    Buffer for GetItemsOp<double>.ItemsAverageConditional<DistributionStructArray<Gaussian, double>, Gaussian>

    Declaration
    public DistributionStructArray<Gaussian, double> ItemBias_use_F_marginal
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    itemBiasObs_B

    Declaration
    public Gaussian[] itemBiasObs_B
    Field Value
    Type Description
    Gaussian[]

    itemTrait_B

    Declaration
    public DistributionStructArray<Gaussian, double>[] itemTrait_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    ItemTraits_itemItemIds_observation__F

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> ItemTraits_itemItemIds_observation__F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    ItemTraits_use_B

    Message from use of 'ItemTraits'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> ItemTraits_use_B
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    ItemTraits_use_F_marginal

    Buffer for GetItemsOp<double[]>.ItemsAverageConditional<DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>, DistributionStructArray<Gaussian, double>>

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> ItemTraits_use_F_marginal
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    NextRating_reduced

    Declaration
    public int[] NextRating_reduced
    Field Value
    Type Description
    Int32[]

    Ratings_F_reduced

    Declaration
    public Discrete Ratings_F_reduced
    Field Value
    Type Description
    Discrete

    Ratings_marginal_F

    Message to marginal of 'Ratings'

    Declaration
    public DistributionRefArray<Discrete, int> Ratings_marginal_F
    Field Value
    Type Description
    DistributionRefArray<Discrete, Int32>

    Ratings_observation__selector_cases_B

    Declaration
    public DistributionStructArray<Bernoulli, bool>[] Ratings_observation__selector_cases_B
    Field Value
    Type Description
    DistributionStructArray<Bernoulli, Boolean>[]

    Ratings_observation__selector_cases_uses_B

    Messages from uses of 'Ratings_observation__selector_cases'

    Declaration
    public Bernoulli[][][] Ratings_observation__selector_cases_uses_B
    Field Value
    Type Description
    Bernoulli[][][]

    Ratings_observation__selector_uses_B

    Messages from uses of 'Ratings_observation__selector'

    Declaration
    public Discrete[][] Ratings_observation__selector_uses_B
    Field Value
    Type Description
    Discrete[][]

    Ratings_observation__selector_uses_B_toDef

    Buffer for ReplicateOp_Divide.Marginal<Discrete>

    Declaration
    public Discrete[] Ratings_observation__selector_uses_B_toDef
    Field Value
    Type Description
    Discrete[]

    true_logZ

    Buffer for IsBetweenGaussianOp.LogEvidenceRatio

    Declaration
    public double[][] true_logZ
    Field Value
    Type Description
    Double[][]

    UserBias_itemUserIds_observation__F

    Declaration
    public DistributionStructArray<Gaussian, double> UserBias_itemUserIds_observation__F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    UserBias_use_B

    Message from use of 'UserBias'

    Declaration
    public DistributionStructArray<Gaussian, double> UserBias_use_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    UserBias_use_F_marginal

    Buffer for GetItemsOp<double>.ItemsAverageConditional<DistributionStructArray<Gaussian, double>, Gaussian>

    Declaration
    public DistributionStructArray<Gaussian, double> UserBias_use_F_marginal
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    userBiasObs_B

    Declaration
    public Gaussian[] userBiasObs_B
    Field Value
    Type Description
    Gaussian[]

    UserThresholds_0__gi_0__F

    Declaration
    public DistributionStructArray<Gaussian, double>[] UserThresholds_0__gi_0__F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    UserThresholds_depth2_rep_B_toDef

    Buffer for ReplicateOp_Divide.Marginal<Gaussian>

    Declaration
    public Gaussian[] UserThresholds_depth2_rep_B_toDef
    Field Value
    Type Description
    Gaussian[]

    UserThresholds_depth2_rep_F

    Declaration
    public Gaussian[][] UserThresholds_depth2_rep_F
    Field Value
    Type Description
    Gaussian[][]

    UserThresholds_depth2_rep_F_marginal

    Buffer for ReplicateOp_Divide.UsesAverageConditional<Gaussian>

    Declaration
    public Gaussian[] UserThresholds_depth2_rep_F_marginal
    Field Value
    Type Description
    Gaussian[]

    UserThresholds_itemUserIds_observation__F

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserThresholds_itemUserIds_observation__F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    UserThresholds_use_B

    Message from use of 'UserThresholds'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserThresholds_use_B
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    UserThresholds_use_F_marginal

    Buffer for GetItemsOp<double[]>.ItemsAverageConditional<DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>, DistributionStructArray<Gaussian, double>>

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserThresholds_use_F_marginal
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    UserThresholdsObs_B

    Declaration
    public DistributionStructArray<Gaussian, double>[] UserThresholdsObs_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    UserThresholdsObs_B_reduced

    Declaration
    public Gaussian UserThresholdsObs_B_reduced
    Field Value
    Type Description
    Gaussian

    UserThresholdsObs_F

    Declaration
    public DistributionStructArray<Gaussian, double>[] UserThresholdsObs_F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    userTrait_B

    Declaration
    public DistributionStructArray<Gaussian, double>[] userTrait_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    UserTraits_itemUserIds_observation__F

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserTraits_itemUserIds_observation__F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    UserTraits_use_B

    Message from use of 'UserTraits'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserTraits_use_B
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    UserTraits_use_F_marginal

    Buffer for GetItemsOp<double[]>.ItemsAverageConditional<DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>, DistributionStructArray<Gaussian, double>>

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserTraits_use_F_marginal
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    vbool9_reduced

    Declaration
    public bool vbool9_reduced
    Field Value
    Type Description
    Boolean

    vdouble__78_F

    Declaration
    public DistributionStructArray<Gaussian, double>[] vdouble__78_F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    vdouble__88_F

    Declaration
    public DistributionStructArray<Gaussian, double>[] vdouble__88_F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    vdouble__89_F

    Declaration
    public DistributionStructArray<Gaussian, double>[] vdouble__89_F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    vdouble163_F

    Declaration
    public Gaussian[] vdouble163_F
    Field Value
    Type Description
    Gaussian[]

    vdouble165_F

    Declaration
    public Gaussian[] vdouble165_F
    Field Value
    Type Description
    Gaussian[]

    vdouble166_F

    Declaration
    public Gaussian[] vdouble166_F
    Field Value
    Type Description
    Gaussian[]

    vdouble167_F

    Declaration
    public Gaussian[] vdouble167_F
    Field Value
    Type Description
    Gaussian[]

    vdouble168_F

    Declaration
    public Gaussian[] vdouble168_F
    Field Value
    Type Description
    Gaussian[]

    vdouble169_F

    Declaration
    public Gaussian[] vdouble169_F
    Field Value
    Type Description
    Gaussian[]

    vint45

    The constant 'vint45'

    Declaration
    public int vint45
    Field Value
    Type Description
    Int32

    Properties

    AffinityNoiseVariance

    The externally-specified value of 'AffinityNoiseVariance'

    Declaration
    public double AffinityNoiseVariance { get; set; }
    Property Value
    Type Description
    Double

    ItemBiasPrior

    The externally-specified value of 'ItemBiasPrior'

    Declaration
    public DistributionStructArray<Gaussian, double> ItemBiasPrior { get; set; }
    Property Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    ItemCount

    The externally-specified value of 'ItemCount'

    Declaration
    public int ItemCount { get; set; }
    Property Value
    Type Description
    Int32

    ItemIds

    The externally-specified value of 'ItemIds'

    Declaration
    public IReadOnlyList<int> ItemIds { get; set; }
    Property Value
    Type Description
    IReadOnlyList<Int32>

    ItemTraitsPrior

    The externally-specified value of 'ItemTraitsPrior'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> ItemTraitsPrior { get; set; }
    Property Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    NumberOfIterationsDone

    The number of iterations done from the initial state

    Declaration
    public int NumberOfIterationsDone { get; }
    Property Value
    Type Description
    Int32

    ObservationCount

    The externally-specified value of 'ObservationCount'

    Declaration
    public int ObservationCount { get; set; }
    Property Value
    Type Description
    Int32

    TraitCount

    The externally-specified value of 'TraitCount'

    Declaration
    public int TraitCount { get; set; }
    Property Value
    Type Description
    Int32

    UserBiasPrior

    The externally-specified value of 'UserBiasPrior'

    Declaration
    public DistributionStructArray<Gaussian, double> UserBiasPrior { get; set; }
    Property Value
    Type Description
    DistributionStructArray<Gaussian, Double>

    UserCount

    The externally-specified value of 'UserCount'

    Declaration
    public int UserCount { get; set; }
    Property Value
    Type Description
    Int32

    UserIds

    The externally-specified value of 'UserIds'

    Declaration
    public IReadOnlyList<int> UserIds { get; set; }
    Property Value
    Type Description
    IReadOnlyList<Int32>

    UserThresholdCount

    The externally-specified value of 'UserThresholdCount'

    Declaration
    public int UserThresholdCount { get; set; }
    Property Value
    Type Description
    Int32

    UserThresholdNoiseVariance

    The externally-specified value of 'UserThresholdNoiseVariance'

    Declaration
    public double UserThresholdNoiseVariance { get; set; }
    Property Value
    Type Description
    Double

    UserThresholdsPrior

    The externally-specified value of 'UserThresholdsPrior'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserThresholdsPrior { get; set; }
    Property Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    UserTraitsPrior

    The externally-specified value of 'UserTraitsPrior'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> UserTraitsPrior { get; set; }
    Property Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    UseSharedUserThresholds

    The externally-specified value of 'UseSharedUserThresholds'

    Declaration
    public bool UseSharedUserThresholds { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Execute(Int32)

    Update all marginals, by iterating message-passing the given number of times

    Declaration
    public void Execute(int numberOfIterations)
    Parameters
    Type Name Description
    Int32 numberOfIterations

    The total number of iterations that should be executed for the current set of observed values. If this is more than the number already done, only the extra iterations are done. If this is less than the number already done, message-passing is restarted from the beginning. Changing the observed values resets the iteration count to 0.

    GetObservedValue(String)

    Get the observed value of the specified variable.

    Declaration
    public object GetObservedValue(string variableName)
    Parameters
    Type Name Description
    String variableName

    Variable name

    Returns
    Type Description
    Object

    Marginal(String)

    Get the marginal distribution (computed up to this point) of a variable

    Declaration
    public object Marginal(string variableName)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    Returns
    Type Description
    Object

    The marginal distribution computed up to this point

    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    Marginal(String, String)

    Get the query-specific marginal distribution of a variable.

    Declaration
    public object Marginal(string variableName, string query)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    String query

    QueryType name. For example, GibbsSampling answers 'Marginal', 'Samples', and 'Conditionals' queries

    Returns
    Type Description
    Object
    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    Marginal<T>(String)

    Get the marginal distribution (computed up to this point) of a variable, converted to type T

    Declaration
    public T Marginal<T>(string variableName)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    Returns
    Type Description
    T

    The marginal distribution computed up to this point

    Type Parameters
    Name Description
    T

    The distribution type.

    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    Marginal<T>(String, String)

    Get the query-specific marginal distribution of a variable, converted to type T

    Declaration
    public T Marginal<T>(string variableName, string query)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    String query

    QueryType name. For example, GibbsSampling answers 'Marginal', 'Samples', and 'Conditionals' queries

    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    The distribution type.

    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    RatingsMarginal()

    Returns the marginal distribution for 'Ratings' given by the current state of the message passing algorithm.

    Declaration
    public DistributionRefArray<Discrete, int> RatingsMarginal()
    Returns
    Type Description
    DistributionRefArray<Discrete, Int32>

    The marginal distribution

    Reset()

    Reset all messages to their initial values. Sets NumberOfIterationsDone to 0.

    Declaration
    public void Reset()

    SetObservedValue(String, Object)

    Set the observed value of the specified variable.

    Declaration
    public void SetObservedValue(string variableName, object value)
    Parameters
    Type Name Description
    String variableName

    Variable name

    Object value

    Observed value

    Update(Int32)

    Update all marginals, by iterating message-passing an additional number of times

    Declaration
    public void Update(int additionalIterations)
    Parameters
    Type Name Description
    Int32 additionalIterations

    The number of iterations that should be executed, starting from the current message state. Messages are not reset, even if observed values have changed.

    Events

    ProgressChanged

    Event that is fired when the progress of inference changes, typically at the end of one iteration of the inference algorithm.

    Declaration
    public event EventHandler<ProgressChangedEventArgs> ProgressChanged
    Event Type
    Type Description
    EventHandler<ProgressChangedEventArgs>

    Implements

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