You are here: Start » FIL.NET » Function Reference » Data Classification » Regression Analysis » FIL.QuadraticRegression_RANSAC
Computes quadratic regression of given point set using RANSAC.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void QuadraticRegression_RANSAC ( IList<float> inYValues, NullableRef<IList<float>> inXValues, int? inMaxOutlierCount, float inMaxInlierDistance, int? inIterationCount, out FilNet.QuadraticFunction outQuadraticFunction, IList<float> outEstimatedValues, IList<float> outResiduals )
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. | ||
![]() | inMaxOutlierCount | int? | <0, INF> | Determines how many outlier points can be present to end the search. Default value: ftl::NIL. | |
![]() | inMaxInlierDistance | float | <0.0f, INF> | Distance from a parabola for point to be considered an inlier. | |
![]() | inIterationCount | int? | <1, INF> | Number of iterations; Auto means that all point triples will be used. Default value: ftl::NIL. | |
![]() | outQuadraticFunction | FilNet.QuadraticFunction | Quadratic 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. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Inconsistent size of arrays in QuadraticRegression_RANSAC. |