polynomial regression using scikit-learn library

#importing the libraries
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline

Here is what the above code is Doing:
1. Importing the libraries
2. Importing the dataset
3. Splitting the dataset into the Training set and Test set
4. Feature Scaling
5. Fitting the Logistic Regression to the Training set
6. Predicting the Test set results
7. Making the Confusion Matrix
8. Visualising the Training set results
9. Visualising the Test set results