About 19,100 results
Open links in new tab
  1. numpy - How to do exponential and logarithmic curve fitting in …

    Aug 8, 2010 · 249 I have a set of data and I want to compare which line describes it best (polynomials of different orders, exponential or logarithmic). I use Python and Numpy and for …

  2. numpy - Exponential regression function Python - Stack Overflow

    Jun 6, 2018 · The definition of the exponential fit function is placed outside exponential_regression, so it can be accessed from other parts of the script. It uses np.exp …

  3. scipy - Exponential Regression in Python - Stack Overflow

    Dec 1, 2022 · python scipy curve-fitting exponential non-linear-regression edited Dec 1, 2022 at 19:42 Alexander L. Hayes 4,293 4 16 39

  4. Fit regression line to exponential function in python

    Sep 19, 2016 · I am trying to learn how to interpret a linear regression model for an exponential function created with Python. I create a model by first transforming the exponential Y data into …

  5. python - Exponential curve fitting in SciPy - Stack Overflow

    I have two NumPy arrays x and y. When I try to fit my data using exponential function and curve_fit (SciPy) with this simple code #!/usr/bin/env python from pylab import * from …

  6. how to do exponential nonlinear regression in python

    Oct 23, 2018 · I am trying to do non-linear regression using the equation y=ae^(-bT) where T is temp with the data: ([26.67, 93.33, 148.89, 222.01, 315.56]) and y is the viscosity with the …

  7. Getting the r-squared value using curve_fit - Stack Overflow

    Computing : The value can be found using the mean (), the total sum of squares (), and the residual sum of squares (). Each is defined as: where is the function value at point . Taken …

  8. python - Exponential fit in pandas - Stack Overflow

    Jun 10, 2022 · The results you have are from fitting a log- curve and not an exponential curve. You need to state as to whether you want an exponential curve or log-curve.

  9. I need an Exponential/non-linear model in python

    Jun 13, 2020 · Currently the way its set up it can generate a linear model but for my data I need an exponential one, the problem is I dont fully understand the linear = …

  10. Python fit polynomial, power law and exponential from data

    Jun 8, 2014 · I have some data (x and y coordinates) coming from a study and I have to plot them and to find the best curve that fits data. My curves are: polynomial up to 6th degree; power …