Is it a standard practice to plot "x" for 1 and "o" for 0?

After checking out the vid, and doing the lab, I see

y = 1 uses :x:, while y = 1 uses :record_button:

Just curious, is that the standard way of plotting?
My brain just cannot process :x: as being a “positive” class…

image

1 Like

Hello @dance2die,

Welcome to our community :wink:

I am sure everyone has their own secret to make their best plots to communicate with their audience, and I have never seen any standard to that. However, I might provide you with one reason for the lab’s choice -

Sometimes, a binary dataset can be pretty imbalanced:

  1. healthy people VS. cancer patients
  2. People with good credit records VS. Defaults
  3. Normal transactions VS. fraud transactions
  4. Normal people VS. Olympics elites
  5. Customers who stay VS Customers who are leaving us (Churn)

In these cases, we always want to “detect” something out of the population. I would not say if those “something” are good or bad or positive or negative because it is not about comparing the two classes, but to distinguish out what we want to detect.

In short, those “something” require our attention, and a sharp, red crosses can draw our attention :wink:

Besides, speaking of imbalanced dataset, there are special metrics (e.g. Jaccard score, Recall, …) for them. In sklearn, for example, those metrics always assume the minority class (that we want to detect) to carry y = 1 label. Therefore, the use of y = 1 may be considered as some kind of “standard”.

Cheers,
Raymond

2 Likes

I was trying to delink the following because in my experience, sometimes, for example, some TV shows always use “circle” as “correct answer” or “positive answer”, and not sure if you had similar experience too:

image

Positive is something we want to detect (e.g. Olympics elites from normal people) and we use a sharp symbol (red cross) to denote it.

1 Like

Thank you, @rmwkwok for the detailed explanation :slight_smile:

I will move on from the trivial matters and focus on what’s discussed about “positive” class being what we want to detect and move on :smiley:

Okay! Good luck, @dance2die! :wink:

Raymond