Tools implemented in bob.bio.gmm¶
Summary¶
bob.bio.gmm.algorithm.GMM (number_of_gaussians) |
Algorithm for computing Universal Background Models and Gaussian Mixture Models of the features. |
bob.bio.gmm.algorithm.ISV (…[, …]) |
Tool for computing Unified Background Models and Gaussian Mixture Models of the features |
bob.bio.gmm.algorithm.JFA (…[, …]) |
Tool for computing Unified Background Models and Gaussian Mixture Models of the features and project it via JFA |
bob.bio.gmm.algorithm.IVector (…[, …]) |
Tool for extracting I-Vectors |
Details¶
-
class
bob.bio.gmm.algorithm.
GMM
(number_of_gaussians, kmeans_training_iterations=25, gmm_training_iterations=25, training_threshold=0.0005, variance_threshold=0.0005, update_weights=True, update_means=True, update_variances=True, relevance_factor=4, gmm_enroll_iterations=1, responsibility_threshold=0, INIT_SEED=5489, scoring_function=<built-in function linear_scoring>)¶ Bases:
bob.bio.base.algorithm.Algorithm
Algorithm for computing Universal Background Models and Gaussian Mixture Models of the features. Features must be normalized to zero mean and unit standard deviation.
-
enroll
(feature_arrays)[source]¶ Enrolls a GMM using MAP adaptation, given a list of 2D numpy.ndarray’s of feature vectors
-
project
(feature)[source]¶ Computes GMM statistics against a UBM, given an input 2D numpy.ndarray of feature vectors
-
score
(model, probe)[source]¶ Computes the score for the given model and the given probe using the scoring function from the config file
-
score_for_multiple_probes
(model, probes)[source]¶ This function computes the score between the given model and several given probe files.
-
-
class
bob.bio.gmm.algorithm.
GMMRegular
(**kwargs)¶ Bases:
bob.bio.gmm.algorithm.GMM
Algorithm for computing Universal Background Models and Gaussian Mixture Models of the features
-
class
bob.bio.gmm.algorithm.
ISV
(subspace_dimension_of_u, isv_training_iterations=10, isv_enroll_iterations=1, multiple_probe_scoring=None, **kwargs)¶ Bases:
bob.bio.gmm.algorithm.GMM
Tool for computing Unified Background Models and Gaussian Mixture Models of the features
-
score_for_multiple_probes
(model, probes)[source]¶ This function computes the score between the given model and several given probe files.
-
-
class
bob.bio.gmm.algorithm.
IVector
(subspace_dimension_of_t, tv_training_iterations=25, update_sigma=True, use_whitening=True, use_lda=False, use_wccn=False, use_plda=False, lda_dim=None, lda_strip_to_rank=True, plda_dim_F=50, plda_dim_G=50, plda_training_iterations=50, **kwargs)¶ Bases:
bob.bio.gmm.algorithm.GMM
Tool for extracting I-Vectors
-
read_feature
(feature_file)[source]¶ Read the type of features that we require, namely i-vectors (stored as simple numpy arrays)
-
score_for_multiple_probes
(model, probes)[source]¶ This function computes the score between the given model and several given probe files.
-
-
class
bob.bio.gmm.algorithm.
JFA
(subspace_dimension_of_u, subspace_dimension_of_v, jfa_training_iterations=10, jfa_enroll_iterations=1, **kwargs)¶ Bases:
bob.bio.gmm.algorithm.GMM
Tool for computing Unified Background Models and Gaussian Mixture Models of the features and project it via JFA