• 08 Dec, 2025 *

This is the second week of my journey in the data science realm. This week, I built my first model—linear regression. It’s used to model the relationship between input features (independent variables) and a continuous target variable (dependent variable). I made a model between the number of cylinders and total weight of a car. Obviously, the more cylinders a car has, the heavier it will be. So, our model will predict what could be the weight of a car if it has, let’s say, four to six cylinders.

It’s one of the basic models, but still you should know a lot of theoretical things. For example, how the quality of those models is calculated using metrics like RMSE (Root Mean Squared Error). More importantly, how [R-squared](https://en.wikipedia.org/wiki/Coeffic…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help