« first day (2019 days earlier)      last day (1337 days later) » 

user13415013
5:45 AM
guys is there any way to get precesion_recall of specific labels in sklearn.metrics.precision_recall_fscore_support
 
user13415013
y_true = np.array(['cat', 'dog', 'pig', 'cat', 'dog', 'pig'])
y_pred = np.array(['cat', 'pig', 'dog', 'cat', 'cat', 'dog'])
precision_recall_fscore_support(y_true, y_pred, average='macro')
 
user13415013
which only give total precision recall , is there any way to get those score for specific labels i.e 'cat' 'dog', 'pig'
 
user13415013
I wanted to ask about this question , but
i have reached question limit.
Help!!!!
 
user13415013
Help!!
 
user13415013
I wanted to get like this
precision: 55.71%; recall: 39.57%; F1: 46.27

company: precision: 54.69%; recall: 41.67%; F1: 47.30; predicted: 64

facility: precision: 40.48%; recall: 36.17%; F1: 38.20; predicted: 42
 
user13415013
7:17 AM
Help
 
8:03 AM
8 messages moved from Python
 

« first day (2019 days earlier)      last day (1337 days later) »