Page 1 of 1

1 Problem 1 (15 points) Suppose we have trained a logistic regression model for several iterations on a tiny dataset wit

Posted: Mon Jul 11, 2022 11:17 am
by answerhappygod
1 Problem 1 15 Points Suppose We Have Trained A Logistic Regression Model For Several Iterations On A Tiny Dataset Wit 1
1 Problem 1 15 Points Suppose We Have Trained A Logistic Regression Model For Several Iterations On A Tiny Dataset Wit 1 (45.12 KiB) Viewed 38 times
1 Problem 1 (15 points) Suppose we have trained a logistic regression model for several iterations on a tiny dataset with two features (see Table 1), and the resulting parameters are W₁ = -0.25, W₂ = -1.01 (slope) and b = 0.41 (intercept). (1) Compute p(y=0|1, 2) for all the samples using the parameters above. (5 points) (2) Compute the log likelihood value. (5 points) (3) How can you transform the data such that they can be linearly separated? (5 points) No. I1 1 2 -1.0 3 -0.4 4 0.5 X2 1.4 0.9 Y 0 -1.3 1 0.5 0 1.0 1 Table 1: Tiny dataset