Skip to content
Snippets Groups Projects
Commit bd556dc2 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Implemented score_multiple_models

parent 16717689
No related branches found
Tags v3.0.0
1 merge request!64Dask pipelines
Pipeline #40606 failed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment