#include <bsta_parzen_updater.h>
If a new sample is within tol of the existing samples then don't insert. Otherwise if maximum number of samples has been reached, then compute a new bandwidth estimate based on the most probable fraction of the existing samples.
Definition at line 57 of file bsta_parzen_updater.h.
Public Types | |
| enum | { data_dimension = parzen_dist_::dimension } |
| typedef parzen_dist_::math_type | T |
| typedef parzen_dist_::vector_type | vector_ |
| typedef parzen_dist_::field_type | field_type |
| for compatiblity with vpdl/vpdt. | |
| typedef parzen_dist_ | distribution_type |
Public Member Functions | |
| bsta_parzen_adapt_bw_updater (T tol, unsigned max_samples, T frac_backgnd=T(1)) | |
| void | operator() (parzen_dist_ &pdist, const vector_ &sample) const |
| The update functor. | |
Private Attributes | |
| T | tol_ |
| unsigned | max_samples_ |
| T | frac_background_ |
| typedef parzen_dist_::math_type bsta_parzen_adapt_bw_updater< parzen_dist_ >::T |
Definition at line 60 of file bsta_parzen_updater.h.
| typedef parzen_dist_::vector_type bsta_parzen_adapt_bw_updater< parzen_dist_ >::vector_ |
Definition at line 61 of file bsta_parzen_updater.h.
| typedef parzen_dist_::field_type bsta_parzen_adapt_bw_updater< parzen_dist_ >::field_type |
| typedef parzen_dist_ bsta_parzen_adapt_bw_updater< parzen_dist_ >::distribution_type |
Definition at line 66 of file bsta_parzen_updater.h.
| anonymous enum |
| bsta_parzen_adapt_bw_updater< parzen_dist_ >::bsta_parzen_adapt_bw_updater | ( | T | tol, | |
| unsigned | max_samples, | |||
| T | frac_backgnd = T(1) | |||
| ) | [inline] |
Definition at line 70 of file bsta_parzen_updater.h.
| void bsta_parzen_adapt_bw_updater< parzen_dist_ >::operator() | ( | parzen_dist_ & | pdist, | |
| const vector_ & | sample | |||
| ) | const |
The update functor.
T bsta_parzen_adapt_bw_updater< parzen_dist_ >::tol_ [private] |
Definition at line 78 of file bsta_parzen_updater.h.
unsigned bsta_parzen_adapt_bw_updater< parzen_dist_ >::max_samples_ [private] |
Definition at line 79 of file bsta_parzen_updater.h.
T bsta_parzen_adapt_bw_updater< parzen_dist_ >::frac_background_ [private] |
Definition at line 80 of file bsta_parzen_updater.h.
1.5.1