-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Matplotlib for Python Developers
While plotting the CSV values, we have seen that there were some columns representing predictions of the world population in the coming years. We'd like to show how to obtain such predictions using the mathematical process of extrapolation with the help of curve fitting.
Curve fitting is the process of constructing a curve (a mathematical function) that better fits to a series of data points.
This process is related to other two concepts:
interpolation: A method of constructing new data points within the range of a known set of points
extrapolation: A method of constructing new data points outside a known set of points
The results of extrapolation are subject to a greater degree of uncertainty and are influenced a lot by the fitting function that is used.
So it works this way:
1. First, a known set of measures is passed to the curve fitting procedure that computes a function to approximate these values
2. With this function, we can compute additional...