Regression | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Regression

plz anyone can explain the regression function

16th Feb 2018, 5:49 PM
dhanasekar k
dhanasekar k - avatar
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
16th Feb 2018, 6:33 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
brother i am just begginer of Python..can u explain this code in c
17th Feb 2018, 3:23 AM
dhanasekar k
dhanasekar k - avatar