Let's say that you have weights for a logistic regression model and one observation . The set of class labels is , which means cat, and , which means dog.
The logistic function has the following parameters: . The cut-off point equals .
Your task is to predict the class label of the given observation. As an answer provide the probability of belonging to that class (either , or . Round the answer to the second decimal place. For example, if your answer is , you write .
Tip: Recall the logistic function and the fact that substituting into returns the probability of belonging to class . The probability of belonging to class 0 is 1 - the probability of belonging to class .