C# 클래스 CanvasClean.LoessInterpolator

파일 보기 프로젝트 열기: Illumina/canvas 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DEFAULT_BANDWIDTH double
DEFAULT_ROBUSTNESS_ITERS int

공개 메소드들

메소드 설명
LoessInterpolator ( ) : System
LoessInterpolator ( double bandwidth, int robustnessIters ) : System
Train ( double xvals, double yvals, double xStep, bool computeFitted = true ) : LoessModel

Train a LOESS model

비공개 메소드들

메소드 설명
checkAllFiniteReal ( double values, bool isAbscissae ) : void
checkIncreasing ( double xval ) : void

Check that elements of the abscissae array are in an increasing order. Throws MathException if the abscissae array is not in an increasing order.

computeCoefficients ( double x, double xval, double yval, double robustnessWeights, int bandwidthInterval ) : double[]
computeIntervals ( double xvals, double xStep, int bandwidthInPoints ) : List
predict ( double x, double coefficients ) : double
train ( double xvals, double yvals, double xStep, int ascendingOrder, bool computeFitted = true ) : LoessModel

Train a LOESS model

tricube ( double x ) : double
updateBandwidthInterval ( double x, double xval, int bandwidthInterval ) : int[]

Given an Index interval into xval that embraces a certain number of points closest to a value less than x, update the interval so that it embraces the same number of points closest to x.

메소드 상세

LoessInterpolator() 공개 메소드

public LoessInterpolator ( ) : System
리턴 System

LoessInterpolator() 공개 메소드

public LoessInterpolator ( double bandwidth, int robustnessIters ) : System
bandwidth double
robustnessIters int
리턴 System

Train() 공개 메소드

Train a LOESS model
public Train ( double xvals, double yvals, double xStep, bool computeFitted = true ) : LoessModel
xvals double x values
yvals double y values
xStep double x-value step size
computeFitted bool to compute the fitted y values? Always true when robustnessIters > 0
리턴 LoessModel

프로퍼티 상세

DEFAULT_BANDWIDTH 공개적으로 정적으로 프로퍼티

public static double DEFAULT_BANDWIDTH
리턴 double

DEFAULT_ROBUSTNESS_ITERS 공개적으로 정적으로 프로퍼티

public static int DEFAULT_ROBUSTNESS_ITERS
리턴 int