#include <plLearn1dNormal.h>
Inheritance diagram for plLearn1dNormal:
Public Member Functions | |
plLearn1dNormal (const plVariablesConjunction &vars) | |
Constructor using a given variable. | |
plLearn1dNormal (const plVariablesConjunction &vars, double init_mean, double init_std_dev, double init_weight=1.0) | |
Constructor using a set of variables, an initial mean, initial covariance, and an initial weight . | |
plLearn1dNormal () | |
Void default constructor. | |
virtual | ~plLearn1dNormal () |
Dectructor. | |
void | reset () |
Resets learning. | |
void | internal_addPoint (const plDataValues &point, double weight) |
Adds a point {point} with a given weight {weight} and updates the mean and variances statistics. | |
double | get_mu () const |
Returns the mean value. | |
double | get_var () const |
Returns the variance value. | |
double | get_sigma () const |
Returns the sigma (standard deviation) value. | |
void | get_params (plValues ¶ms) const |
Returns both the mean the sigma values in the output parameter {params}. | |
void | get_actual_min_max (double &min, double &max) const |
Returns min and max values. | |
plKernel | get_distribution (const void *parameters=NULL) const |
Returns the normal corresponding to the learnt distribution. |
Definition at line 28 of file plLearn1dNormal.h.
|
Adds a point {point} with a given weight {weight} and updates the mean and variances statistics. This is an internal method, do not use it directly. Use addNewPoint instead. Implements plLearnObject. Definition at line 70 of file plLearn1dNormal.h. |