C# Класс Segmenter.Model.Criterion.CriterionMethod

Calculates actual and estimated characteristics of the subject word in the sequence
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Probability ( int count, int chainLen ) : double

Calculates probability.

Описание методов

DesignExpected() публичный Метод

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. ///
Результат double

Frequency() публичный абстрактный Метод

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
Результат double

IntervalEstimate() публичный Метод

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. ///
Результат double

Probability() защищенный Метод

Calculates probability.
protected Probability ( int count, int chainLen ) : double
count int /// The occurrences count. ///
chainLen int /// The chain len. /// All events. ///
Результат double