Open recurLi1 opened 1 month ago
Refer to in python, spyder, i import sklearn, why it doesn't find 'classification' in 'sklearn.metric'?
You may try the following code
from sklearn.metrics import classification_report, accuracy_score, confusion_matrix
However, the sklearn.metrics module does not contain a function called classification. Can you tell me if "classification" is a function I wrote myself? Can you provide me with the code?