Feb 18, 2021 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 Attachments SimpleLinearRegression.zip SimpleLinearRegression.zip 5.9 KB · Views: 485 Click to expand...
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