Back to FabImage Studio website
You are here: Start » Filter Reference » Data Classification » Regression Analysis » LinearRegression_LAD
Module: | FoundationBasic |
---|
Computes linear regression of given point set, using the L1 norm.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inYValues | RealArray | Sequence of ordinates | |
![]() |
inXValues | RealArray* | Sequence of abscissae, or {0, 1, 2, ...} by default | |
![]() |
inIterationCount | Integer | Number of iterations of outlier suppressing algorithm | |
![]() |
inLambda | Real | 0.0 - 1.0 | Coefficient of a running average in the iterations |
![]() |
outLinearFunction | LinearFunction | Linear function approximating the given point set | |
![]() |
outEstimatedValues | RealArray | The result of application of the computed function to the X values | |
![]() |
outResiduals | RealArray | Difference between an input Y value and the corresponding estimated value | |
![]() |
outRSquared | Real | Coefficient of determination of output function |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Inconsistent size of arrays in LinearRegression_LAD. |
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of LinearRegression filter group.