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
unable to acomplish it. In python, this is easely acomplished as seem in
this example (using scipy)
http://stackoverflow.com/questions/7588371/scipyleastsqgoodnessoffitestimator
How could I do something similar with java math commons? Thanks.

"A arrogância é a arma dos fracos."
===========================
Italo Moreira Campelo Maia
Bacharel em Ciência da Computação  UECE
Analista de Sistemas / Desenvolvedor Web, Desktop e Mobile (Python, Java,
Lua)
Coordenador do PugCE

http://www.italomaia.com/
http://twitter.com/italomaia/
http://eusouolobomau.blogspot.com/

Turtle Linux 9.10  http://tiny.cc/blogturtle910
Turtle Linux 10.10  http://bit.ly/cEw4ET
===========================
