bob.trainer.BICTrainer

class bob.trainer.BICTrainer((object)self, (int)intra_dim, (int)extra_dim) → None :

Bases: Boost.Python.instance

A Trainer for a BICMachine. It trains either a BIC model (including projection matrix and eigenvalues), or an IEC model (containing mean and variance only). See bob.machine.BICMachine for more details.

Initializes the BICTrainer to train a BIC model with the given resulting dimensions of the intraperonal and extrapersonal subspaces.

__init__( (object)self) -> None :
Initializes the BICTrainer to train a IEC model.
__init__((object)self, (int)intra_dim, (int)extra_dim) → None :

Initializes the BICTrainer to train a BIC model with the given resulting dimensions of the intraperonal and extrapersonal subspaces.

__init__( (object)self) -> None :
Initializes the BICTrainer to train a IEC model.

Methods

__init__((object)self, (int)intra_dim, …) Initializes the BICTrainer to train a BIC model with the given resulting dimensions of the intraperonal and extrapersonal subspaces.
train((BICTrainer)self, (BICMachine)machine, …) Trains the given machine (should be of type bob.machine.BICMachine) to classify intrapersonal image differences vs.
train((BICTrainer)self, (BICMachine)machine, (object)intra_differences, (object)extra_differences) → None :

Trains the given machine (should be of type bob.machine.BICMachine) to classify intrapersonal image differences vs. extrapersonal ones. The given difference vectors might be the result of any image comparison function, e.g., the pixel difference of the images.