You are here: Start » AVL.NET » AVS.QuadraticRegression_M Method

AVS.QuadraticRegression_M Method

Computes quadratic regression of given point set using selected M-estimator for outlier suppression.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void QuadraticRegression_M
(
	IList<float> inYValues,
	NullableRef<IList<float>> inXValues,
	AvlNet.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	AvlNet.QuadraticFunction? inInitialQuadraticFunction,
	out AvlNet.QuadraticFunction outQuadraticFunction,
	IList<float> outEstimatedValues,
	IList<float> outResiduals,
	NullableRef<List<float>> outYInliers,
	NullableRef<List<float>> outXInliers
)

Parameters

Name Type Range Default Description
inYValuesSystem.Collections.Generic.IList<float>Sequence of ordinates.
inXValuesAvlNet.NullableRef<System.Collections.Generic.IList<float>>Sequence of abscissae, or {0, 1, 2, ...} by default. Default value: atl::NIL.
inOutlierSuppressionAvlNet.MEstimator
inClippingFactorfloat<0.675f, 6.0f>2.5fMultitude of standard deviation within which points are considered inliers. Default value: 2.5f.
inIterationCountint<0, INF>5Number of iterations of outlier suppressing algorithm. Default value: 5.
inInitialQuadraticFunctionAvlNet.QuadraticFunction?Initial approximation of the output quadratic function (if available). Default value: atl::NIL.
outQuadraticFunctionAvlNet.QuadraticFunctionQuadratic function approximating the given point set.
outEstimatedValuesSystem.Collections.Generic.IList<float>The result of application of the computed function to the X values.
outResidualsSystem.Collections.Generic.IList<float>Difference between an input Y value and the corresponding estimated value.
outYInliersAvlNet.NullableRef<System.Collections.Generic.List<float>>Coordinate of the inlying points of the best parabola. Can be null to skip this parameter calculation.
outXInliersAvlNet.NullableRef<System.Collections.Generic.List<float>>Coordinate of the inlying points of the best parabola. Can be null to skip this parameter calculation.

Function Overrides

See also