40 views
0 0 votes

Consider a binary logistic regression model with labels $Y \in \{0,1\}$. Suppose the class probabilities are obtained from the softmax function using weight vectors $w_0$ and $w_1$.

Which expression correctly gives $P(Y=1\mid x)$?

  1. $ \frac{\exp(w_0^T x)} {\exp(w_0^T x)+\exp(w_1^T x)} $
     
  2. $ \frac{\exp(w_1^T x)} {\exp(w_0^T x)+\exp(w_1^T x)} $
     
  3. $ \frac{1} {1+\exp\left((w_1-w_0)^T x\right)} $
     
  4. $ \frac{\exp\left((w_0-w_1)^T x\right)} {1+\exp\left((w_0-w_1)^T x\right)} $
     

Please log in or register to answer this question.

Answer:
Position:
Show:

Related questions

0 0 votes
0 0 answers
41
41 views
GO Classes Support asked Aug 22
41 views
Which of the following statements about $L_1$ and $L_2$ regularization in linear regression are correct?$L1$ regularization tends to produce sparser weight vectors than $...
0 0 votes
0 0 answers
38
38 views
GO Classes Support asked Aug 22
38 views
Suppose we are performing linear regression on $n$ training examples. Let $y_i$ be the actual output and $\hat{y}_i$ be the model's prediction for the $i$-th example.The ...
1 1 vote
0 0 answers
37
37 views
GO Classes Support asked Aug 22
37 views
Consider the dataset shown below. A linear regression model $y = \theta x + \theta_0$ is now trained using datasets $A$ and $B$ (combined), and tested on dataset $C$.Base...
0 0 votes
0 0 answers
37
37 views
GO Classes Support asked Aug 22
37 views
Consider the dataset shown below. A linear regression model $y = \theta x + \theta_0$ is trained on dataset $A$ and tested on the disjoint dataset $B$. The performance is...