DEV Community

Arindam Basu
Arindam Basu

Posted on

Importing from google colab

import pandas as pd
import matplotlib.pyplot as plt
Enter fullscreen mode Exit fullscreen mode
x = [1,2,3,4,5]
y = [4,5,6,7,8]
xydata = pd.DataFrame({"x": x,
                       "y" : y})
xydata.head()
Enter fullscreen mode Exit fullscreen mode
.dataframe tbody tr th:only-of-type {
    vertical-align: middle;
}

.dataframe tbody tr th {
    vertical-align: top;
}

.dataframe thead th {
    text-align: right;
}
Enter fullscreen mode Exit fullscreen mode
x y
0 1 4
1 2 5
2 3 6
3 4 7
4 5 8
%matplotlib inline
plt.plot(x,y)
plt.scatter(x,y)
plt.title("X and Y plotted")
Enter fullscreen mode Exit fullscreen mode
Text(0.5, 1.0, 'X and Y plotted')
Enter fullscreen mode Exit fullscreen mode

Alt Text

The Goal

Goal of this analysis is to develop a machine learning pathway for identification of the best classifying scheme.

Top comments (0)