concept fit in category python
appears as: fit, fit, fits

This is an excerpt from Manning's book Math for Programmers: 3D graphics, machine learning, and simulations with Python.
Some of these errors are smaller than others, but how can we quantify the quality of the fit? Let’s compare this to a picture of a function, g(x) = 1 − x, which is obviously a bad fit (figure 14.7).
Figure 14.16: A graph of cost vs. the slope a, showing the quality of fit for different slope values
![]()