Commit 1c90fc41 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

deprecate the GMM algorithm

parent ffd5c342
Pipeline #36805 passed with stage
in 6 minutes and 19 seconds
......@@ -76,6 +76,7 @@ class GMM(Algorithm):
self.kmeans_trainer = bob.learn.em.KMeansTrainer()
self.gmm_trainer = bob.learn.em.ML_GMMTrainer(self.update_means, self.update_variances, self.update_weights,
self.responsibility_threshold)
print("This class is deprecated. Please use bob.pad.base.algorithm.GMM instead.")
def _check_feature(self, feature, machine=None, projected=False):
"""Checks that the features are appropriate."""
......@@ -242,6 +243,3 @@ class GMM(Algorithm):
def score_for_multiple_projections(self, toscore):
"""Returns the difference between log likelihoods of being real or attack"""
self.score(toscore)
algorithm = GMM()
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