Commit bd556dc2 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Implemented score_multiple_models

parent 16717689
Pipeline #40606 failed with stage
in 4 minutes and 35 seconds
......@@ -155,4 +155,10 @@ class Histogram (Algorithm):
def read_feature(*args, **kwargs) : raise NotImplementedError("This function is not implemented and should not be called.")
def train_enroller(*args, **kwargs) : raise NotImplementedError("This function is not implemented and should not be called.")
def load_enroller(*args, **kwargs) : pass
def score_for_multiple_models(*args, **kwargs) : raise NotImplementedError("This function is not implemented and should not be called.")
def score_for_multiple_models(self, models, probe):
self._check_feature(probe, self._is_sparse(probe))
scores = [ self.score(m, probe) for m in models ]
return scores
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment