Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

plLearn1dNormal Class Reference

This class permits to learn one-dimensional Normal (Gaussian) distributions. More...

#include <plLearn1dNormal.h>

Inheritance diagram for plLearn1dNormal:

Inheritance graph
[legend]
Collaboration diagram for plLearn1dNormal:

Collaboration graph
[legend]
List of all members.

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 &params) 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.

Detailed Description

This class permits to learn one-dimensional Normal (Gaussian) distributions.

Definition at line 28 of file plLearn1dNormal.h.


Member Function Documentation

void plLearn1dNormal::internal_addPoint const plDataValues &  point,
double  weight
[inline, virtual]
 

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.


The documentation for this class was generated from the following file:
Generated on Fri Apr 1 10:59:10 2005 for ProBT by  doxygen 1.4.1