You are here: Start » FIL.NET » Invoke.LinearRegression_LTE
Computes linear regression of given point set using Least Trimmed Error algorithm.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void LinearRegression_LTE ( List<float> inYValues, Optional<List<float>> inXValues, int inSeedSubsetSize, Optional<int> inEvalSubsetSize, out Fil.LinearFunction outLinearFunction, List<float> outEstimatedValues, List<float> outResiduals, List<float> outYInliers, List<float> outXInliers, out float outLTError, Diagnostic<int> diagIterationCount )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inYValues | System.Collections.Generic.List<float> | Sequence of ordinates. | ||
![]() | inXValues | Ftl.Optional<System.Collections.Generic.List<float>> | Sequence of abscissae, or {0, 1, 2, ...} by default. Default value: ftl::NIL. | ||
![]() | inSeedSubsetSize | int | <2, 10> | 3 | Number of points in one combination for getting a sample line. Default value: 3. |
![]() | inEvalSubsetSize | Ftl.Optional<int> | <3, INF> | Number of closest points used for evaluation of a sample line, or Auto if seed points are to be used. Default value: ftl::NIL. | |
![]() | outLinearFunction | Fil.LinearFunction | Linear function approximating the given point set. | ||
![]() | outEstimatedValues | System.Collections.Generic.List<float> | The result of application of the computed function to the X values. | ||
![]() | outResiduals | System.Collections.Generic.List<float> | Difference between an input Y value and the corresponding estimated value. | ||
![]() | outYInliers | System.Collections.Generic.List<float> | Coordinate of the inlying points of the best LTE line. | ||
![]() | outXInliers | System.Collections.Generic.List<float> | Coordinate of the inlying points of the best LTE line. | ||
![]() | outLTError | float | The Least Trimmed Error. | ||
![]() | diagIterationCount | Fil.Diagnostic<int> | Number of combinations considered. |