def K(self,X,X2,target):
AX = np.dot(X,self.transform)<EOL>if X2 is None:<EOL><INDENT>X2 = X<EOL>AX2 = AX<EOL><DEDENT>else:<EOL><INDENT>AX2 = np.dot(X2, self.transform)<EOL><DEDENT>self.k.K(X,X2,target)<EOL>self.k.K(AX,X2,target)<EOL>self.k.K(X,AX2,target)<EOL>self.k.K(AX,AX2,target)<EOL>
Compute the covariance matrix between X and X2.