Linear Least Squares Fitting Example
Two example applications are combined in this Windows.Forms GUI: (1) fitting a line to measurement data using pinv and (2) fitting polynoms of various degrees to another measurement dataset using ridge_regression.
Each example is activated by an individual button on the main example GUI. The ILNumerics Visualization Engine is utilized in order to plot the function and the solution together with the path passed from the start to the minimum.
This example serves as accompanying material for the online documentation for linear least squares.
Last modified: March 30 2016 19:30