Kernel: Python 3 (Anaconda)
In [0]:
In [0]:
In [1]:
In [0]:
In [2]:
In [3]:
In [4]:
In [5]:
In [6]:
In [7]:
In [8]:
[631500.0, 580000.0, 549500.0, 544800.0, 517600.0, 521000.0, 521200.0, 518200.0, 512000.0, 524300.0, 535000.0]
In [9]:
24
In [10]:
549500.0
In [11]:
[<matplotlib.lines.Line2D at 0x7fa545ae7b70>]
In [16]:
In [19]:
<matplotlib.legend.Legend at 0x7fa54565fef0>
In [11]:
In [12]:
In [59]:
z = [cost(5,i) for i in l]
In [61]:
512000.0
In [65]:
[2800000.0, 1460000.0, 1033400.0, 817000.0, 699200.0, 631500.0, 580000.0, 549500.0, 544800.0, 517600.0, 521000.0, 521200.0, 518200.0, 512000.0, 524300.0, 535000.0, 544100.0, 551600.0, 557500.0, 561800.0]
In [13]:
In [15]:
In [20]:
512000.0
In [17]:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-17-55b14854158f> in <module>()
4 plt.plot(fine,z3)
5 plt.plot(fine,z4)
----> 6 plt.xlable('Fine')
7 plt.ylable('total cost')
8 plt.show()
AttributeError: module 'matplotlib.pyplot' has no attribute 'xlable'
In [25]:
140
In [26]:
94
In [27]:
1033400.0
In [28]:
1460000.0
In [29]:
817000.0
In [0]:
In [0]:
In [0]:
In [0]: