Linear Regression clearly explained:
Some definitions before moving on with the example:
Attributes - Data values that we use to make our predictions
Target - Value that we want to predict
Attributes - Data values that we use to make our predictions
Target - Value that we want to predict
We want to predict the prices of houses based on the number of rooms they have.
In this example,
Attributes - Number of rooms
Target - Price of houses
In this example,
Attributes - Number of rooms
Target - Price of houses
The goal of linear regression is to draw a line that passes as close to data points as possible.
1. Start with a random line
2. Pick a random value - Are we close enough?
3. If no, move the line closer
4. Repeat these steps.
1. Start with a random line
2. Pick a random value - Are we close enough?
3. If no, move the line closer
4. Repeat these steps.
That's it for today.
I hope you've found this thread helpful.
Like/Retweet the first tweet below for support and follow @levikul09 for more Data Science threads.
Thanks 😉
I hope you've found this thread helpful.
Like/Retweet the first tweet below for support and follow @levikul09 for more Data Science threads.
Thanks 😉
If you haven't already, join our newsletter DSBoost.
We share:
• Interviews
• Podcast notes
• Learning resources
• Interesting collections of content
dsboost.dev
We share:
• Interviews
• Podcast notes
• Learning resources
• Interesting collections of content
dsboost.dev
Loading suggestions...