Professional Documents
Culture Documents
OUTPUT 2
runfile('C:/Users/vivek/OneDrive/Desktop/Informatics/ASSIGNMENT 1/ASS1 CODE.py',
wdir='C:/Users/vivek/OneDrive/Desktop/Informatics/ASSIGNMENT 1')
Visualizing data:
X Y
0 20.178011 378.599412
1 8.390660 286.403910
2 73.122699 859.058798
3 71.400661 828.743412
4 88.820066 1078.009259
Warning
Figures now render in the Plots pane by default. To make them also appear inline in the Console,
uncheck "Mute Inline Plotting" under the Plots pane options menu.
Intercept (c) = 1,
Slope (m) = 1
Intercept (c) = 1,
Slope (m) = 1
Error with initialized values = 3238.098
Visualizing data:
for i, v in X.iteritems():
No artists with labels found to put in legend. Note that artists whose label start with an underscore are
ignored when legend() is called with no argument.