bob.trainer.ISVTrainer

class bob.trainer.ISVTrainer((object)self[, (int)max_iterations=10[, (float)relevance_factor=4.0]]) → None :

Bases: Boost.Python.instance

A trainer for Inter-session Variability Modelling (ISV).

References: [1] ‘Explicit Modelling of Session Variability for Speaker Verification’, R. Vogt, S. Sridharan, Computer Speech & Language, 2008, vol. 22, no. 1, pp. 17-38 [2] ‘Session Variability Modelling for Face Authentication’, C. McCool, R. Wallace, M. McLaren, L. El Shafey, S. Marcel, IET Biometrics, 2013

Initializes a new ISVTrainer.

__init__( (object)self, (ISVTrainer)other) -> None :
Copy constructs an ISVTrainer
__init__((object)self[, (int)max_iterations=10[, (float)relevance_factor=4.0]]) → None :

Initializes a new ISVTrainer.

__init__( (object)self, (ISVTrainer)other) -> None :
Copy constructs an ISVTrainer

Methods

__init__((object)self [, …) Initializes a new ISVTrainer.
e_step((ISVTrainer)self, (ISVBase)isv_base, …) Call the e-step procedure.
enrol((ISVTrainer)self, …) Call the enrolment procedure.
finalize((ISVTrainer)self, …) Call the finalization procedure.
initialize((ISVTrainer)self, …) Call the initialization procedure.
is_similar_to((ISVTrainer)self, …) Compares this ISVTrainer with the ‘other’ one to be approximately the same.
m_step((ISVTrainer)self, (ISVBase)isv_base, …) Call the m-step procedure.
train((ISVTrainer)self, (ISVBase)isv_base, …) Call the training procedure.

Attributes

acc_u_a1 Accumulator updated during the E-step
acc_u_a2 Accumulator updated during the E-step
max_iterations Max iterations
rng The Mersenne Twister mt19937 random generator used for the initialization of subspaces/arrays before the EM loop.
acc_u_a1

Accumulator updated during the E-step

acc_u_a2

Accumulator updated during the E-step

e_step((ISVTrainer)self, (ISVBase)isv_base, (object)gmm_stats) → None :

Call the e-step procedure.

enrol((ISVTrainer)self, (ISVMachine)isv_machine, (object)gmm_stats, (int)n_iter) → None :

Call the enrolment procedure.

finalize((ISVTrainer)self, (ISVBase)isv_base, (object)gmm_stats) → None :

Call the finalization procedure.

initialize((ISVTrainer)self, (ISVBase)isv_base, (object)gmm_stats) → None :

Call the initialization procedure.

is_similar_to((ISVTrainer)self, (ISVTrainer)other[, (float)r_epsilon=1e-05[, (float)a_epsilon=1e-08]]) → bool :

Compares this ISVTrainer with the ‘other’ one to be approximately the same.

m_step((ISVTrainer)self, (ISVBase)isv_base, (object)gmm_stats) → None :

Call the m-step procedure.

max_iterations

Max iterations

rng

The Mersenne Twister mt19937 random generator used for the initialization of subspaces/arrays before the EM loop.

train((ISVTrainer)self, (ISVBase)isv_base, (object)gmm_stats) → None :

Call the training procedure.