You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have doubts regarding the interpretation of metrics(specifically precision and recall) in the solution of lab 2b:
gamma rays are encoded as 0 in the data and, as sklearn reports for positive class by default, some of questions answers(such as e.g. that recall shows % of gamma rays predicted correctly) are somewhat misleading. To retain the interpretation of the metrics(we are interested in classifying the gamma rays) it's better to encode gamma rays as positive class or use pos_label=0 in metrics calls.
The text was updated successfully, but these errors were encountered:
Hello,
I have doubts regarding the interpretation of metrics(specifically precision and recall) in the solution of lab 2b:
gamma rays are encoded as 0 in the data and, as sklearn reports for positive class by default, some of questions answers(such as e.g. that recall shows % of gamma rays predicted correctly) are somewhat misleading. To retain the interpretation of the metrics(we are interested in classifying the gamma rays) it's better to encode gamma rays as positive class or use
pos_label=0
in metrics calls.The text was updated successfully, but these errors were encountered: