LdaEstimateOptions Struct Reference

#include <lda-estimate.h>

Collaboration diagram for LdaEstimateOptions:

Public Member Functions

 LdaEstimateOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

bool remove_offset
 
int32 dim
 
bool allow_large_dim
 
BaseFloat within_class_factor
 

Detailed Description

Definition at line 29 of file lda-estimate.h.

Constructor & Destructor Documentation

◆ LdaEstimateOptions()

LdaEstimateOptions ( )
inline

Definition at line 35 of file lda-estimate.h.

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 38 of file lda-estimate.h.

References OptionsItf::Register().

Referenced by main().

38  {
39  opts->Register("remove-offset", &remove_offset, "If true, output an affine "
40  "transform that makes the projected data mean equal to zero.");
41  opts->Register("dim", &dim, "Dimension to project to with LDA");
42  opts->Register("allow-large-dim", &allow_large_dim, "If true, allow an LDA "
43  "dimension larger than the number of classes.");
44  opts->Register("within-class-factor", &within_class_factor, "(Deprecated) If 1.0, do "
45  "conventional LDA where the within-class variance will be "
46  "unit in the projected space. May be set to less than 1.0, "
47  "which scales the features to have less variance, particularly "
48  "for dimensions where between-class variance is small; "
49  "this is a feature being experimented with for neural-net "
50  "input.");
51  }

Member Data Documentation

◆ allow_large_dim

bool allow_large_dim

Definition at line 32 of file lda-estimate.h.

Referenced by LdaEstimate::Estimate().

◆ dim

int32 dim

Definition at line 31 of file lda-estimate.h.

Referenced by LdaEstimate::Estimate(), test_io(), and UnitTestEstimateLda().

◆ remove_offset

bool remove_offset

Definition at line 30 of file lda-estimate.h.

Referenced by LdaEstimate::Estimate(), and UnitTestEstimateLda().

◆ within_class_factor

BaseFloat within_class_factor

Definition at line 33 of file lda-estimate.h.

Referenced by LdaEstimate::Estimate().


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