Skip to content
Snippets Groups Projects
Verified Commit f0408ad6 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

fix: use float instead of the deprecated np.float.

parent 4d3aba7f
No related branches found
No related tags found
No related merge requests found
Pipeline #88178 failed
...@@ -84,6 +84,6 @@ class GMM(AlgorithmBob): ...@@ -84,6 +84,6 @@ class GMM(AlgorithmBob):
def decision_function(self, scores): def decision_function(self, scores):
return np.fromiter( return np.fromiter(
(self.machine.log_likelihood(s) for s in scores), (self.machine.log_likelihood(s) for s in scores),
np.float, float,
scores.shape[0], scores.shape[0],
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment