PldaConfig Struct Reference

#include <plda.h>

Collaboration diagram for PldaConfig:

Public Member Functions

 PldaConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

bool normalize_length
 
bool simple_length_norm
 

Detailed Description

Definition at line 50 of file plda.h.

Constructor & Destructor Documentation

◆ PldaConfig()

PldaConfig ( )
inline

Definition at line 55 of file plda.h.

55 : normalize_length(true), simple_length_norm(false) { }
bool normalize_length
Definition: plda.h:53
bool simple_length_norm
Definition: plda.h:54

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 56 of file plda.h.

References OptionsItf::Register().

Referenced by main().

56  {
57  opts->Register("normalize-length", &normalize_length,
58  "If true, do length normalization as part of PLDA (see "
59  "code for details). This does not set the length unit; "
60  "by default it instead ensures that the inner product "
61  "with the PLDA model's inverse variance (which is a "
62  "function of how many utterances the iVector was averaged "
63  "over) has the expected value, equal to the iVector "
64  "dimension.");
65 
66  opts->Register("simple-length-normalization", &simple_length_norm,
67  "If true, replace the default length normalization by an "
68  "alternative that normalizes the length of the iVectors to "
69  "be equal to the square root of the iVector dimension.");
70  }
bool normalize_length
Definition: plda.h:53
bool simple_length_norm
Definition: plda.h:54

Member Data Documentation

◆ normalize_length

bool normalize_length

Definition at line 53 of file plda.h.

Referenced by Plda::TransformIvector().

◆ simple_length_norm

bool simple_length_norm

Definition at line 54 of file plda.h.

Referenced by Plda::TransformIvector().


The documentation for this struct was generated from the following file: