Talk:Polynomial regression: Difference between revisions

From Rosetta Code
Content added Content deleted
m (any norm could be used)
(fortran note)
Line 3: Line 3:
Any norm could be used. The task is not about mathematics. This task is intended as a subtask. The produced polynoms are used as labels for simple charts, therefore any norm will suffice. You may create a new task if a more formal task statement is desirable.
Any norm could be used. The task is not about mathematics. This task is intended as a subtask. The produced polynoms are used as labels for simple charts, therefore any norm will suffice. You may create a new task if a more formal task statement is desirable.
The basis is 1, x, x<sup>2</sup>, x<sup>3</sup>, ..., x<sup>n</sup>. `n' is supposed to be known. -- [[User:Geka Sua|Geka Sua]] 08:04, 7 June 2008 (MDT)
The basis is 1, x, x<sup>2</sup>, x<sup>3</sup>, ..., x<sup>n</sup>. `n' is supposed to be known. -- [[User:Geka Sua|Geka Sua]] 08:04, 7 June 2008 (MDT)


==About fortran==
It is quickly coded, and while trying to remember things. It works anyway, but I suppose there's a better way. the method I've followed is straightforwardly from [http://mathworld.wolfram.com/LeastSquaresFittingPolynomial.html Wolfram.com] --[[User:ShinTakezou|ShinTakezou]] 23:58, 18 December 2008 (UTC)

Revision as of 23:58, 18 December 2008

In which norm the approximation has to be done? Euclidean? C-norm? The basis seem to be xn? --Dmitry-kazakov 14:10, 4 June 2008 (MDT)

Any norm could be used. The task is not about mathematics. This task is intended as a subtask. The produced polynoms are used as labels for simple charts, therefore any norm will suffice. You may create a new task if a more formal task statement is desirable. The basis is 1, x, x2, x3, ..., xn. `n' is supposed to be known. -- Geka Sua 08:04, 7 June 2008 (MDT)


About fortran

It is quickly coded, and while trying to remember things. It works anyway, but I suppose there's a better way. the method I've followed is straightforwardly from Wolfram.com --ShinTakezou 23:58, 18 December 2008 (UTC)