Machine LearningLesson 6Free preview
ML Linear Graphs
This lesson is part of A.I. · All levels
Summary
A linear graph is a straight line representing a function of the form y = mx + b. In machine learning, linear lines are used to model simple relationships between features and outcomes, for example in linear regression. The slope m determines the direction and curvature of the line, whereas b determines the cutting point on the y-axis.
Key points
- A linear function is y = mx + b and produces a straight line graph.
- M is the gradient/slope; b is the y-axis cut-off point.
- The upward line means a positive gradient, the downward line means a negative gradient.
- Linear regression looks for the best line that approaches a set of data dots.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.