Top "Curve-fitting" questions

Fitting 1-D curve to data points, minimizing pre-defined error/loss function.

How to do exponential and logarithmic curve fitting in Python? I found only polynomial fitting

I have a set of data and I want to compare which line describes it best (polynomials of different orders, …

python numpy scipy curve-fitting linear-regression
Fitting a density curve to a histogram in R

Is there a function in R that fits a curve to a histogram? Let's say you had the following histogram …

r histogram curve-fitting r-faq
How to fit a smooth curve to my data in R?

I'm trying to draw a smooth curve in R. I have the following simple toy data: > x [1] 1 2 3 4 5 6 7 8 9 10 > y [1] 2 4 6 8 7 12 14 16 18 20 …

r plot curve-fitting
Linear regression with matplotlib / numpy

I'm trying to generate a linear regression on a scatter plot I have generated, however my data is in list …

python numpy matplotlib linear-regression curve-fitting
How do I calculate r-squared using Python and Numpy?

I'm using Python and Numpy to calculate a best fit polynomial of arbitrary degree. I pass a list of x …

python math statistics numpy curve-fitting
python numpy/scipy curve fitting

I have some points and I am trying to fit curve for this points. I know that there exist scipy.…

python numpy scipy curve-fitting
Fitting polynomial model to data in R

I've read the answers to this question and they are quite helpful, but I need help particularly in R. I …

r curve-fitting data-analysis polynomial-math
Fitting a histogram with python

I have a histogram H=hist(my_data,bins=my_bin,histtype='step',color='r') I can see that the …

python histogram curve-fitting
fitting data with numpy

Let me start by telling that what I get may not be what I expect and perhaps you can help …

python numpy regression curve-fitting data-fitting
Android How to draw a smooth line following your finger

http://marakana.com/tutorials/android/2d-graphics-example.html I am using this example below. But when I move my fingers too …

java android touch interpolation curve-fitting