Skip to content
Snippets Groups Projects
Commit 988be144 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

lpmkl

parent 76c4cca5
No related branches found
No related tags found
No related merge requests found
Pipeline #3650 failed
...@@ -31,8 +31,6 @@ class LPNormMKL(KernelClassifier, MKL): ...@@ -31,8 +31,6 @@ class LPNormMKL(KernelClassifier, MKL):
return super(LPNormMKL, self).fit(formatted_X, y[train_indices]) return super(LPNormMKL, self).fit(formatted_X, y[train_indices])
def predict(self, X, example_indices=None, view_indices=None): def predict(self, X, example_indices=None, view_indices=None):
# print(self.K_)
# import pdb;pdb.set_trace()
new_X, _ = self.format_X(X, example_indices, view_indices) new_X, _ = self.format_X(X, example_indices, view_indices)
return self.extract_labels(super(LPNormMKL, self).predict(new_X)) return self.extract_labels(super(LPNormMKL, self).predict(new_X))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment