Suppose we have three positive examples x 1 = ( 1 , 0 , 0 ) ,

Question:

Suppose we have three positive examples x1=(1,0,0),x2=(0,0,1)x1=(1,0,0),x2=(0,0,1) and x3=(0,1,0)x3=(0,1,0) and three negative examples x4=(1,0,0),x5=(0,1,0)x4=(1,0,0),x5=(0,1,0) and x6=(0,0,1)x6=(0,0,1). Apply standard gradient ascent method to train a logistic regression classifier (without regularization terms).

Tuple # Class Probability 1 P N P P N 23456780 8 9 10 P N N N P 0.95 0.85 0.78 0.66 0.60 0.55 0.53 0.52 0.51

Initialize the weight vector with two different values and set w00=0w00=0 (e.g. w0=(0,0,0,0),w0= (0,0,1,0))(0,0,1,0)). Would the final weight vector (w)(w) be the same for the two different initial values? What are the values? Please explain your answer in detail. You may assume the learning rate to be a positive real constant ηη.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Data Mining Concepts And Techniques

ISBN: 9780128117613

4th Edition

Authors: Jiawei Han, Jian Pei, Hanghang Tong

Question Posted: