Package org.hipparchus.fitting.ransac
Interface IModelFitter<M>
- Type Parameters:
M- mathematical model representing the parameters to estimate
- All Known Implementing Classes:
PolynomialModelFitter
public interface IModelFitter<M>
Base class for mathematical model fitter used with
RansacFitter.- Since:
- 4.1
-
Method Summary
-
Method Details
-
fitModel
Fits the mathematical model parameters based on the set of observed data.- Parameters:
points- set of observed data- Returns:
- the fitted model parameters
-
computeModelError
Computes the error between the model and an observed data.This method is used to determine if the observed data is an inlier or an outlier.
- Parameters:
model- fitted modelpoint- observed data- Returns:
- the error between the model and the observed data
-