All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PdfPriorOptions Struct Reference

#include <nnet-pdf-prior.h>

Collaboration diagram for PdfPriorOptions:

Public Member Functions

 PdfPriorOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

std::string class_frame_counts
 
BaseFloat prior_scale
 
BaseFloat prior_floor
 

Detailed Description

Definition at line 35 of file nnet-pdf-prior.h.

Constructor & Destructor Documentation

PdfPriorOptions ( )
inline

Definition at line 40 of file nnet-pdf-prior.h.

40  :
42  prior_scale(1.0),
43  prior_floor(1e-10)
44  { }

Member Function Documentation

void Register ( OptionsItf opts)
inline

Definition at line 46 of file nnet-pdf-prior.h.

References OptionsItf::Register().

Referenced by main().

46  {
47  opts->Register("class-frame-counts", &class_frame_counts,
48  "Vector with frame-counts of pdfs to compute log-priors."
49  " (priors are typically subtracted from log-posteriors"
50  " or pre-softmax activations)");
51  opts->Register("prior-scale", &prior_scale,
52  "Scaling factor to be applied on pdf-log-priors");
53  opts->Register("prior-floor", &prior_floor,
54  "Flooring constatnt for prior probability "
55  "(i.e. label rel. frequency)");
56  }

Member Data Documentation

std::string class_frame_counts

Definition at line 36 of file nnet-pdf-prior.h.

Referenced by main(), and PdfPrior::PdfPrior().

BaseFloat prior_floor

Definition at line 38 of file nnet-pdf-prior.h.

Referenced by PdfPrior::PdfPrior().

BaseFloat prior_scale

Definition at line 37 of file nnet-pdf-prior.h.


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