Share My Creation Circle Fit and Linear regression

I share two classes in case someone can use it.
In the attached project it is two classes: TaubinCircleFit and LinearRegression.
Although the code in the Main module and the Layout is stolen from this post from Erel this is a different approach to regression.
The circle fit is a conversion of Nikolau Chernov's c++ code to B4X code. The c++ code can be found at: https://people.cas.uab.edu/~mosya/cl/CircleFitByTaubin.cpp
1613681847392.png
1613681875528.png
 

Attachments

  • SimpleLinearRegression.zip
    5.9 KB · Views: 273
Top