You are here: Start » FIL.NET » FIS.LinearRegression_LTE Method
FIS.LinearRegression_LTE Method
Computes linear regression of given point set using Least Trimmed Error algorithm.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void LinearRegression_LTE ( IList<float> inYValues, NullableRef<IList<float>> inXValues, int inSeedSubsetSize, int? inEvalSubsetSize, out FilNet.LinearFunction outLinearFunction, IList<float> outEstimatedValues, IList<float> outResiduals, IList<float> outYInliers, IList<float> outXInliers, out float outLTError )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inYValues | System.Collections.Generic.IList<float> | Sequence of ordinates. | ||
![]() | inXValues | FilNet.NullableRef<System.Collections.Generic.IList<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 | 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 | FilNet.LinearFunction | Linear function approximating the given point set. | ||
![]() | outEstimatedValues | System.Collections.Generic.IList<float> | The result of application of the computed function to the X values. | ||
![]() | outResiduals | System.Collections.Generic.IList<float> | Difference between an input Y value and the corresponding estimated value. | ||
![]() | outYInliers | System.Collections.Generic.IList<float> | Coordinate of the inlying points of the best LTE line. | ||
![]() | outXInliers | System.Collections.Generic.IList<float> | Coordinate of the inlying points of the best LTE line. | ||
![]() | outLTError | float | The Least Trimmed Error. |
Function Overrides
- LinearRegression_LTE(IList<Single>, Int32, LinearFunction, IList<Single>, IList<Single>, IList<Single>, IList<Single>, Single)
- LinearRegression_LTE(IList<Single>, NullableRef<IList<Single>>, Int32, Nullable<Int32>, LinearFunction, IList<Single>, IList<Single>, IList<Single>, IList<Single>, Single, Int32)