Im using Random Forest and I want to use confusion matrix to calculate false positive and false negative but I achieved the bellow error:
from sklearn.matrics import confusion_matrix ImportError: No module named matrics
Im using Random Forest and I want to use confusion matrix to calculate false positive and false negative but I achieved the bellow error:
from sklearn.matrics import confusion_matrix ImportError: No module named matrics
The correct command (metrics not matrics) to import confusion_matrix is:
from sklearn.metrics import confusion_matrix