I get "TypeError: 'module' object is not subscriptable" for cm module
- Dominant language
- Jupyter Notebook
- Stars
- 30k
- Forks
- 13.1k
- PR merge metrics
- No merged PRs in 30d
Description

"3rd Chapter - Classification"
**from matplotlib import cm
cm[1, 1] / (cm[1, 1] + (cm[1, 0] + cm[0, 1]) / 2)**
for the above code I get this typerror. It will so helpful if you could help me resolve this issue with my system.
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[](https://localhost:8080/#) in ()
1 from matplotlib import cm
----> 2 cm[1, 1] / (cm[1, 1] + (cm[1, 0] + cm[0, 1]) / 2)
TypeError: 'module' object is not subscriptable
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.