#include <plLearnKHistogram.h>
Inheritance diagram for plLearnKHistogram:


Public Member Functions | |
| plLearnKHistogram () | |
| Default constructor. | |
| plLearnKHistogram (const plVariablesConjunction &vars) | |
| Constructor using a set of variables. | |
| template<class arrayType> | |
| plLearnKHistogram (const plVariablesConjunction &vars, arrayType init_freq, double init_weight=1.0) | |
| Constructor using a set of variables, initial frequencies, and an initial weight. | |
| plLearnKHistogram (const plLearnKHistogram &histo) | |
| Copy Constructor. | |
| virtual | ~plLearnKHistogram () |
| Dectructor. | |
| void | reset () |
| Resets learning. | |
| void | internal_addPoint (const plDataValues &point, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates the statistics. | |
| void | get_params (plValues ¶ms) const |
| Returns the probability table in the output parameter {params}. | |
| plKernel | get_distribution (const void *parameters=NULL) const |
| Returns the probability table corresponding to the learnt distribution. | |
| virtual void | get_probability (vector< plProbValue > &table) const |
| Returns the probability table corresponding to the learnt distribution in the output parameter 'table'. | |
| virtual void | get_probability (plProbValue *table) const |
| Returns the probability table corresponding to the learnt distribution in the output parameter 'table'. | |
| void | get_frequency (vector< double > &table) const |
| Returns the frequency table corresponding to the learnt distribution in the output parameter 'table'. | |
| void | get_frequency (double *table) const |
| Returns the frequency table corresponding to the learnt distribution in the output parameter 'table'. | |
| const vector< double > & | get_frequency () const |
| Returns a constant reference to the frequency table corresponding to the learnt distribution. | |
| void | get_actual_min_max (plValues &min, plValues &max) const |
| Returns the actual range of the head variables according to the learnt points. | |
| unsigned int | size () const |
| Returns the size of the histogram. | |
Definition at line 29 of file plLearnKHistogram.h.
|
|
Returns the frequency table corresponding to the learnt distribution in the output parameter 'table'. Supposes that 'table' has the exact size. |
|
|
Returns the probability table corresponding to the learnt distribution in the output parameter 'table'. Supposes that 'table' has the exact size. Reimplemented in plLearnKLaplace, and plLearnKLidstone. |
|
||||||||||||
|
Adds a point {point} with a given weight {weight} and updates the statistics. This is an internal method, do not use it directly. Use addNewPoint instead. Implements plLearnObject. |
1.4.1