Question: def fit ( self , X , y , pocket = True, epochs = 1 0 0 ) : ' ' ' find the classifer
def fitself X y pocket True, epochs :
find the classifer weight vector and save it in self.w
X: n x d matrix, ie the bias feature is not included.
It is assumed that X is already normalized be data preprocessing.
y: n x vector of
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
