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).
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
Data Mining Concepts And Techniques
ISBN: 9780128117613
4th Edition
Authors: Jiawei Han, Jian Pei, Hanghang Tong
Question Posted: