Machine LearningLesson 75Free preview
Scatter Plot
This lesson is part of Python · All levels
Summary
In the context of machine learning, scatter plots are used to check the relationship between two numeric variables before choosing a model. If the dots form a linear pattern, the corresponding linear relationships are modeled by linear regression, whereas the curved pattern demands another model. A point that spreads without a pattern indicates a weak or nonexistent relationship. So scatter is a mandatory exploration step before training a regression model.
Key points
- The scatter plot examines the relationship between two numerical variables
- Linear patterns up or down indicate linear correlation
- The random spread dots indicate a weak relationship
- The test results determine the selection of regression models
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.