MathematicsLesson 46Free preview
Linear Functions
This lesson is part of A.I. · All levels
Summary
The linear function y = mx + b is the basis of many machine learning concepts. The value m is the gradient that determines the line curvature, whereas b is the cut-off point on the y-axis. From any two dots, the gradient can be calculated as the difference y divided by the difference x.
Key points
- A linear function is y = mx + b.
- The gradient m is equal to (y2 - y1) / (x2 - x1).
- The value of b is the value of y when x is equal to 0.
- The graph of a linear function is always a straight line.
- Linear regression uses this principle to predict continuous values.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.