Search Results for

    Show / Hide Table of Contents

    Class DataSamplingOptions

    Options for data sampling.

    Inheritance
    System.Object
    DataSamplingOptions
    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.Data.Sampling
    Assembly: BayesServer.Data.Sampling.dll
    Syntax
    public sealed class DataSamplingOptions

    Constructors

    DataSamplingOptions()

    Initializes a new instance of DataSamplingOptions.

    Declaration
    public DataSamplingOptions()

    Properties

    MissingDataExclusions

    Variables can be added, to indicate that they should not generate missing values.

    Declaration
    public ExcludedVariables MissingDataExclusions { get; }
    Property Value
    Type Description
    ExcludedVariables
    See Also
    MissingDataProbability

    MissingDataProbability

    When positive, sets a certain percentage of values to missing (except when MissingDataProbabilityMin has a value). Valid values are between 0 and 1.

    Declaration
    public double MissingDataProbability { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    When MissingDataProbabilityMin is set, the missing data probability for each case varies randomly between MissingDataProbabilityMin and MissingDataProbability.

    The missing data mechanism is assumed to be MCAR (Missing Completely At Random).

    MissingDataProbabilityMin

    When set, the missing data probability for each case varies randomly between MissingDataProbabilityMin and MissingDataProbability. Valid values are between 0 and 1.

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

    SequenceLength

    The sequence length generated for each sample from networks with temporal nodes.

    Declaration
    public int? SequenceLength { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    Remarks

    This value can be changed between calls to BayesServer.Data.Sampling.DataSampler.TakeSample to generate varying length sequences.

    In This Article
    Back to top Copyright Bayes Server Ltd. All rights Reserved.