Search Results for

    Show / Hide Table of Contents

    Class EqualIntervals

    Discretizes continuous data in bins, such that the bins have equal size.

    Inheritance
    System.Object
    EqualIntervals
    Implements
    IDiscretize
    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.Discovery.Discretization
    Assembly: BayesServer.Data.Discovery.dll
    Syntax
    public sealed class EqualIntervals : IDiscretize

    Properties

    Progress

    Gets an instance that receive progress notifications.

    Declaration
    public IDiscretizeProgress Progress { get; set; }
    Property Value
    Type Description
    IDiscretizeProgress

    Methods

    Discretize(IDataReaderCommand, IList<DiscretizationColumn>, DiscretizationAlgoOptions)

    Discretizes one or more data columns, that may contain missing (null) values.

    Declaration
    public IList<DiscretizationInfo> Discretize(IDataReaderCommand dataReaderCommand, IList<DiscretizationColumn> dataColumns, DiscretizationAlgoOptions options)
    Parameters
    Type Name Description
    IDataReaderCommand dataReaderCommand

    The data reader command to allow iteration of data.

    System.Collections.Generic.IList<DiscretizationColumn> dataColumns

    The data columns that should be discretized and options per column.

    DiscretizationAlgoOptions options

    Options governing the overall discretization algorithm. Each data column also has options.

    Returns
    Type Description
    System.Collections.Generic.IList<DiscretizationInfo>

    A number of bins each identified by an interval for each data column.

    Discretize(IEnumerable<WeightedValue>, DiscretizationOptions, String)

    Discretizes unsorted weighted continuous data that may contain missing (null) values.

    Declaration
    public IList<Interval<double>> Discretize(IEnumerable<WeightedValue> unsortedData, DiscretizationOptions options, string dataColumn)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<WeightedValue> unsortedData

    The weighted data to discretize.

    DiscretizationOptions options

    Options that affect how discretization is performed, such as the algorithm to use.

    System.String dataColumn

    The name of the source column. This is only used for error reporting.

    Returns
    Type Description
    System.Collections.Generic.IList<Interval<System.Double>>

    A number of bins each identified by an interval.

    Discretize(IEnumerable<Nullable<Double>>, DiscretizationOptions, String)

    Discretizes unsorted continuous data that may contain missing (null) values.

    Declaration
    public IList<Interval<double>> Discretize(IEnumerable<double?> unsortedData, DiscretizationOptions options, string dataColumn)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Nullable<System.Double>> unsortedData

    The data to discretize.

    DiscretizationOptions options

    Options that affect how discretization is performed, such as the algorithm to use.

    System.String dataColumn

    The name of the source column. This is only used for error reporting.

    Returns
    Type Description
    System.Collections.Generic.IList<Interval<System.Double>>

    A number of bins each identified by an interval.

    Implements

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