You are here: Start » FIL.NET » Invoke.LinearRegression_M

Invoke.LinearRegression_M

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

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void LinearRegression_M
(
	List<float> inYValues,
	Optional<List<float>> inXValues,
	Fil.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	Optional<Fil.LinearFunction> inInitialLinearFunction,
	out Fil.LinearFunction outLinearFunction,
	List<float> outEstimatedValues,
	List<float> outResiduals,
	Optional<List<float>> outYInliers,
	Optional<List<float>> outXInliers
)

Parameters

Name Type Range Default Description
inYValuesSystem.Collections.Generic.List<float>Sequence of ordinates.
inXValuesFtl.Optional<System.Collections.Generic.List<float>>Sequence of abscissae, or {0, 1, 2, ...} by default. Default value: ftl::NIL.
inOutlierSuppressionFil.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.
inInitialLinearFunctionFtl.Optional<Fil.LinearFunction>Initial approximation of the output linear function (if available). Default value: ftl::NIL.
outLinearFunctionFil.LinearFunctionLinear function approximating the given point set.
outEstimatedValuesSystem.Collections.Generic.List<float>The result of application of the computed function to the X values.
outResidualsSystem.Collections.Generic.List<float>Difference between an input Y value and the corresponding estimated value.
outYInliersFtl.Optional<System.Collections.Generic.List<float>>Coordinate of the inlying points of the best line.
outXInliersFtl.Optional<System.Collections.Generic.List<float>>Coordinate of the inlying points of the best line.

See also