+ 2
Regression
plz anyone can explain the regression function
2 Answers
+ 13
It is a mathematical approach for modelling the relation between the variable's past and future (predicted) values.
Basically, you try to model (or fit) a function, so that it explains the past (observed) data and when you have it, you use it to predict future values.
Observe the two codes below for linear (continuous) and logistic (discrete) regression, respectively. I tried to comment them as heavily as possible:
https://code.sololearn.com/cU8787JuqEmN/?ref=app
https://code.sololearn.com/cwstTU4ohOr9/?ref=app
+ 1
brother i am just begginer of Python..can u explain this code in c