Exemplo de criação de índice de criminalidade com lógica fuzzy
Kernel: Python 3 (Anaconda)
In [0]:
In [1]:
In [12]:
Out[12]:
/ext/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py:459: UserWarning: matplotlib is currently using a non-GUI backend, so cannot show the figure
"matplotlib is currently using a non-GUI backend, "
In [19]:
Out[19]:
/ext/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py:459: UserWarning: matplotlib is currently using a non-GUI backend, so cannot show the figure
"matplotlib is currently using a non-GUI backend, "
In [14]:
Out[14]:
/ext/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py:459: UserWarning: matplotlib is currently using a non-GUI backend, so cannot show the figure
"matplotlib is currently using a non-GUI backend, "
In [21]:
In [23]:
In [29]:
Out[29]:
OrderedDict([('criminalidade', 51.145698813932803)])
In [30]:
Out[30]:
51.1456988139
/ext/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py:459: UserWarning: matplotlib is currently using a non-GUI backend, so cannot show the figure
"matplotlib is currently using a non-GUI backend, "