Question: def fit ( self , X , y , pocket = True, epochs = 1 0 0 ) : ' ' ' find the classifer

def fit(self, X, y, pocket = True, epochs =100):
''' find the classifer weight vector and save it in self.w
X: n x d matrix, i.e., the bias feature is not included.
It is assumed that X is already normalized be data preprocessing.
y: n x 1 vector of {+1,-1}
degree: the degree of the Z space
return self.w
'''

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!