I am looking to perform a polynomial least squares regression and am looking for a C# library to do the calculations for me.

I pass in the data points and the degree of polynomal (2nd order, 3rd order, etc) and it returns either the C0, C1, C2 etc. constant values or the calculated values "predictions".

Note: I am using Least Squares to create some forecasting reports for disk usage, database size and table size.

Question author Robert-wilkinson | Source



We have used MathLibX in the past and it has worked quite well. I personally have used it to do a Least Square Fit "prediction" algorithm and found it very easy to use.


Price is $80, and it comes with 7 other functions.

Good Luck

Answer author Adambt

Ask about this question here!