Polynomial regression: Difference between revisions
Content added Content deleted
m (→{{header|Python}}: How did we not catch this before?) |
m (Moved to Math cat) |
||
Line 1: | Line 1: | ||
{{task}} |
{{task|Mathematical operations}} |
||
Find an approximating polynom of known degree for a given data. |
Find an approximating polynom of known degree for a given data. |
||
===Example=== |
===Example=== |
||
For input data: |
For input data: |
||
x = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; |
x = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; |
||
y = {1, |
y = {1, 6, 17, 34, 57, 86, 121, 162, 209, 262, 321}; |
||
The |
The approximating polynom is: |
||
⚫ | |||
2 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
This task is intended as a subtask for [[Measure relative performance of sorting algorithms implementations]]. |
This task is intended as a subtask for [[Measure relative performance of sorting algorithms implementations]]. |