Hacker News new | comments | show | ask | jobs | submit login

Do I need to create the function I want to fit? Or would I have to look for a function that looks 'similar' to a plot of my data? So say my data 'looks' like a cubic function, I would need to supply it a blank(missing the coefficients) cubic function?

Also thank you for clearing up the mischaracterization.

A good implementation will have a bunch of ready-to-use functions for - polynomials of various degrees, at least.

Polynomial curve fitting can be "dangerous". As in, extrapolating results can be unpredictable if not done right.

I recall an example where 7-8 points, trending up, are fitted with a polycurve that sharply dropped right after the last data point thereby giving erroneous prediction.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact