C# Класс CanvasPartition.WaveletSegmentation

WavevletSegmentation: Unbalanced HAAR wavelets segmentation C# implementation of "Unbalanced Haar Technique for Nonparametric Function Estimation" Piotr Fryzlewicz, Journal of the American Statistical Association Vol. 102, No. 480 (Dec., 2007), pp. 1318-1327
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
HaarWavelets ( double ratio, double thresholdlower, double thresholdupper, List breakpoints, bool isGermline ) : void

Enrty function for performing Unbalanced Haar (UH) wavelets decomposition for change point (breakpoint) detection

Приватные методы

Метод Описание
FindBestUnbalancedHaarDecomposition ( double x, List tree, double smooth ) : void

Find best Unbalanced Haar wavelets decomposition

GetInnerProdIter ( double x, double I_prod ) : void

For an input vector of length n, get_inner_prod_iter function computes inner products between the input vector and all possible n-1 Unbalanced Haar vectors of length n

GetInnerProdMax ( double x ) : int

The function finds the Unbalanced Haar vector which yields the largest (in absolute value) inner product with the input vector

GetReconstructedVector ( List tree, double smooth ) : double[]

Reconstructs a vector from its top-down Unbalanced Haar decomposition stored in an object returned by best.unbal.haar or hard.thresh

GetSegments ( List tree, double smooth, List breakpoints ) : void

Function outputs breakpoints from a reconstructed vector given its top-down Unbalanced Haar decomposition

GetUnbalHaarVector ( double a ) : List
HardThresh ( List tree, double sigma, bool isGermline ) : void

given sigma, set Unbalanced Haar wavelet coefficients to zero

RefineSegments ( List breakpoints, List coverage ) : void

Refines breakpoint by maximising local medians

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

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

Enrty function for performing Unbalanced Haar (UH) wavelets decomposition for change point (breakpoint) detection
public static HaarWavelets ( double ratio, double thresholdlower, double thresholdupper, List breakpoints, bool isGermline ) : void
ratio double
thresholdlower double
thresholdupper double
breakpoints List
isGermline bool
Результат void