Menu

Linear Regression: Code (a) Line
πŸ–ΌοΈ

Linear Regression: Code (a) Line

DEV CommunityΒ·the_undefined_architectΒ·7 months ago
#Y9x5RECv
#how#beginners#datascience#model#training
Long article (612 words) β€” no AI summary yet.
Reading 0:00
15s threshold

It's time to write your first ML model and predict house prices.

To follow along, go ahead and take a look at the complete product:

https://github.com/yotambelgoroski/ml_unchained-house_pricing

Step 1: It's all about data

ML is all about data - you can't create a model without training it, and you can't train it without data.

Our dataset is typically split into two parts:

Training data - Data used to train a model

Test - Once a model is trained, we can take input (x) from the test data, predict the output (Ε·), and compare that prediction to the real value (y). This tells us how well our model performs.

In more advanced setups, you might also see a validation set, which is used to tune the model before testing it.

Where does data come from?

The answer depends on your business and use case. For learning purposes, Kaggle is a great source for datasets and ML resources.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.