LogisticRegressionConfig Struct Reference

#include <logistic-regression.h>

Collaboration diagram for LogisticRegressionConfig:

Public Member Functions

 LogisticRegressionConfig ()
void Register (OptionsItf *opts)

Public Attributes

int32 max_steps
int32 mix_up
double normalizer
double power

Detailed Description

Definition at line 31 of file logistic-regression.h.

Constructor & Destructor Documentation

◆ LogisticRegressionConfig()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

Definition at line 38 of file logistic-regression.h.

References OptionsItf::Register().

Referenced by main().

38  {
39  opts->Register("max-steps", &max_steps,
40  "Maximum steps in L-BFGS.");
41  opts->Register("normalizer", &normalizer,
42  "Coefficient for L2 regularization.");
43  opts->Register("mix-up", &mix_up,
44  "Target number of mixture components to create, "
45  "if supplied.");
46  opts->Register("power", &power,
47  "Power rule for determining the number of mixtures "
48  "to create.");
49  }

Member Data Documentation

◆ max_steps

◆ mix_up

int32 mix_up

Definition at line 32 of file logistic-regression.h.

Referenced by LogisticRegression::MixUp(), and LogisticRegression::Train().

◆ normalizer

double normalizer

◆ power

double power

Definition at line 34 of file logistic-regression.h.

Referenced by LogisticRegression::MixUp().

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