Direct Graphical Models  v.1.7.0
DirectGraphicalModels::TrainNodeKNNParams Struct Reference

k-Nearest Neighbors parameters More...

#include <TrainNodeKNN.h>

Public Member Functions

 TrainNodeKNNParams ()
 
 TrainNodeKNNParams (float _bias, size_t _maxNeighbors, size_t _maxSamples)
 

Public Attributes

float bias
 Regularization CRF parameter: bias is added to all potential values. More...
 
size_t maxNeighbors
 Max number of neighbors to be used for calculating potentials. More...
 
size_t maxSamples
 Maximum number of samples to be used in training. 0 means using all the samples. More...
 

Detailed Description

k-Nearest Neighbors parameters

Definition at line 13 of file TrainNodeKNN.h.

Constructor & Destructor Documentation

◆ TrainNodeKNNParams() [1/2]

DirectGraphicalModels::TrainNodeKNNParams::TrainNodeKNNParams ( )
inline

Definition at line 18 of file TrainNodeKNN.h.

◆ TrainNodeKNNParams() [2/2]

DirectGraphicalModels::TrainNodeKNNParams::TrainNodeKNNParams ( float  _bias,
size_t  _maxNeighbors,
size_t  _maxSamples 
)
inline

Definition at line 19 of file TrainNodeKNN.h.

Member Data Documentation

◆ bias

float DirectGraphicalModels::TrainNodeKNNParams::bias

Regularization CRF parameter: bias is added to all potential values.

Definition at line 14 of file TrainNodeKNN.h.

◆ maxNeighbors

size_t DirectGraphicalModels::TrainNodeKNNParams::maxNeighbors

Max number of neighbors to be used for calculating potentials.

Definition at line 15 of file TrainNodeKNN.h.

◆ maxSamples

size_t DirectGraphicalModels::TrainNodeKNNParams::maxSamples

Maximum number of samples to be used in training. 0 means using all the samples.

Definition at line 16 of file TrainNodeKNN.h.


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