I have a nx2 matrix to which I would like to fit a function. For such I
need to define the function parameters (3 in total) that result in the best
R² for the dataset. I'm nowhere familiar with Math commons but I was told
OLSMultipleLinearRegression could do that. I'm in a pitch here as I was
Hi.
I have a nx2 matrix to which I would like to fit a function.
Which function?
For such I
need to define the function parameters (3 in total) that result in the best
R² for the dataset. I'm nowhere familiar with Math commons but I was told
OLSMultipleLinearRegression could do that. I'm
Did you have a look at the classes in the package
org.apache.commons.math3.optimization ?
No, I did not. Let's see...
Which function?
This little devil:
http://dpaste.com/hold/767050/
*public static double fnc(double t, double a, double b, double c){
return Math.log(a) + b *
On Tue, Jul 03, 2012 at 07:09:30PM -0300, Italo Maia wrote:
Did you have a look at the classes in the package
org.apache.commons.math3.optimization ?
No, I did not. Let's see...
Which function?
This little devil:
http://dpaste.com/hold/767050/
*public static double