Show / Hide Table of Contents

Class BestFitProcessor

This class houses all functions for the Best Fit calculations

Inheritance
System.Object
BestFitProcessor
Namespace: MESL.SqlRace.Domain.Functions.Processors.BestFit
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class BestFitProcessor : Object

Constructors

BestFitProcessor()

Declaration
public BestFitProcessor()

Fields

GoodnessAcceptabilityDefault

Threshold in best fit correlation coefficient, when no order provided by caller

Declaration
public const double GoodnessAcceptabilityDefault = 0.7
Field Value
Type Description
System.Double

GoodnessMaxOrderDefault

Maximum order of best fit computation

Declaration
public const int GoodnessMaxOrderDefault = 5
Field Value
Type Description
System.Int32

Methods

ComputeBestFit(IEnumerable<Point>)

Computes polynomial best fit line without arbitrary order.

Declaration
public PolyfitResult ComputeBestFit(IEnumerable<Point> sample)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Point> sample
Returns
Type Description
PolyfitResult

ComputeBestFit(IEnumerable<Point>, Int32)

Computes polynomial best fit line of a given order

Declaration
public PolyfitResult ComputeBestFit(IEnumerable<Point> sample, int order)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Point> sample
System.Int32 order
Returns
Type Description
PolyfitResult
Back to top Generated by DocFX