Nonlinear Regression in Python

preview_player
Показать описание
A three parameter (a,b,c) model y = a + b/x + c ln(x) is fit to a set of data with the Python APMonitor package. This tutorial walks through the process of installing the solver, setting up the objective (normalized sum of squared errors), adjusting the parameter values to minimize the SSE, and plotting the results.
Рекомендации по теме
Комментарии
Автор

What does the minimize part imply? Is it important?

ZimoNitrome
Автор

Hello! Do you know if i can do it with 10 parameters and only one equation. Xm and ym are already on those ten. I have been trying to do the same thing you did and it works until the graph appears, which only shows one point with the coordinates (1, 1).

rodiluka
Автор

Thank for the great video, i have a small question. how and why do you choose the equation y = a + b/x + c ln(x)

habiyaremyejoseph
Автор

Hi thank you for your great explanation, but how do we choose the correct equation for our dataset.

kalaiselvan
Автор

Hi Keith, thanks for the nice video. I try to use the same code but I changed some input parameters. I'm trying to fit, using this equation y = 1/(1 + 10^(a*(xm-b))), but the solution of a and b every time for different data is equal to 1, and it is wrong. Do you know what kind of changes should I do in the code or in the model.apm file?

SergioAlejandroPovedaCuevas
Автор

This is another example of great info shrouded by poor audio. Would really like to see more videos like this with a different audio track. jeeeez

TheGroundskeeper
Автор

I have a small question how do we deal with if the x axis is date?

Soo
Автор

I have a little question. What exactly is the server needed for, and is it possible to do it without the server, or are there any options to do this on the local machine? Since I am a beginner in python it may sound like a silly question but thanks in advance

lsqq
Автор

Hi, Thanks for the nice video. I realize that the model is nonlinear in the predictor variable, x, but it is still linear in the parameters a, b, and c. So I think technically it is a linear regression.

keithwald
Автор

First of all I want to thank you for your videos, that are very very useful.
I have a slightly different problem. I have a differential equation describing the Monod growth model that is:
dSdt =
where:
S is the substrate (S0 the given initial condition)
X0 is the initial condition for microorganisms
Mu, Y and Ks are the parameters to find
In this case, I have both derivative (dSdt) and variable (S) but I do not have time explicit in the equation. My data set is S vs time.
Question 1) how can I use your approach to solve the Monod problem?
Question 2) how can I modify the script when I need to add more differential equations and hence more parameters?
Thank you in advance!

Ameth
Автор

excuse me did you have any films for teaching integration?I checked your page but I don't find.

朱凱琪-ln
Автор

How can I do the curve's derivate?

luziadossantossouzaneta
Автор

Thanks for the video.
i have one question about model.apm file.
How can I enter Euler's number in Equations?

ahndonghyun
Автор

What if x is not just vector but multiple vectors or multiple features
So if x.shape== (100, 3) then x has 100 examples and 3 features

mostafatarek
Автор

what if i want use "mean"? how?

thank you

JuliusTanuwijaya
Автор

hi! thank you very much for this video! that's help me a lot!

JuliusTanuwijaya