Commit 41dd2199 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'gmm' into 'master'

Deprecate the GMM algorithm

See merge request !18
parents ffd5c342 1c90fc41
Pipeline #36809 passed with stages
in 7 minutes and 2 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,
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"""
algorithm = GMM()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment