Logistic regression-likelihood estimation

while calculating likelihood estimation i am not able to understand what is yi,is it label of ith example or is it the value of all possible labels of yi

For a training point:
yi is the label of a particular point.

For a testing point:
When we pass a testing point in our model then the model returns a probability of a point to belong in the Class 1, we classify the point and assign it a class based on that probability and hence in that case also yi becomes the class.

I hope your query was resolved?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.