###### Python Basics

####
Polynomial regression

In linear regression, we are looking for a straight line to fit the data as best as possible. But we are not satisfied with simple linear regression in most cases. In the case of this special linear regression as shown in the figure below, this special regression method is called polynomial regression (Polynomial regression).The following data:import numpy as np import matplotlib.pyplot as plt plt.rcParams["figure.figsize"] = (8,6) x = np.random.uniform(-3, 3, size = 100) y = 2 * x ** 2 + 3 * x