C# Class Segmenter.Model.Criterion.CriterionMethod

Calculates actual and estimated characteristics of the subject word in the sequence
显示文件 Open project: intervals-mining-lab/libiada-core Class Usage Examples

Public Methods

Method Description
DesignExpected ( List accord, int chainLength, int winLen, DataCollector minusOne, DataCollector mid ) : double

An estimated characteristic of occurrence of the subject word in the sequence

Frequency ( List std, int chainLength, int windowLength ) : double

Calculates frequency for convoluted or no convoluted chain An actual characteristic of occurrence of the subject word in the sequence

IntervalEstimate ( List stdData, int chainLength, int winLen, Link anchor ) : double

Calculates frequency for convoluted or no convoluted chain by an interval estimation. An actual characteristic of occurrence of the subject word in the sequence.

Protected Methods

Method Description
Probability ( int count, int chainLen ) : double

Calculates probability.

Method Details

DesignExpected() public method

An estimated characteristic of occurrence of the subject word in the sequence
public DesignExpected ( List accord, int chainLength, int winLen, DataCollector minusOne, DataCollector mid ) : double
accord List /// Checking word. ///
chainLength int /// Length of whole sequence. ///
winLen int /// Length of the scanning window. ///
minusOne Segmenter.Base.Collectors.DataCollector /// Data for "minus one" subword. ///
mid Segmenter.Base.Collectors.DataCollector /// Data for "minus two" subword. ///
return double

Frequency() public abstract method

Calculates frequency for convoluted or no convoluted chain An actual characteristic of occurrence of the subject word in the sequence
public abstract Frequency ( List std, int chainLength, int windowLength ) : double
std List all positions of occurrence the word in the sequence
chainLength int length of whole sequence
windowLength int length of the scanning window
return double

IntervalEstimate() public method

Calculates frequency for convoluted or no convoluted chain by an interval estimation. An actual characteristic of occurrence of the subject word in the sequence.
public IntervalEstimate ( List stdData, int chainLength, int winLen, Link anchor ) : double
stdData List /// Positions of word. ///
chainLength int /// Length of whole sequence. ///
winLen int /// Length of the scanning window. ///
anchor Link /// Binding to the chain. ///
return double

Probability() protected method

Calculates probability.
protected Probability ( int count, int chainLen ) : double
count int /// The occurrences count. ///
chainLen int /// The chain len. /// All events. ///
return double