| Top |
NcmStatsDistNdKDEGaussNcmStatsDistNdKDEGauss — An N dimensional probability distributions using gaussian KDE |
Functions
Properties
| gboolean | LOOCV | Read / Write / Construct |
| guint | N | Read |
| guint | nearPD-maxiter | Read / Write / Construct |
| gdouble | over-smooth | Read / Write / Construct |
Functions
ncm_stats_dist_nd_kde_gauss_new ()
NcmStatsDistNdKDEGauss * ncm_stats_dist_nd_kde_gauss_new (const guint dim,const gboolean LOOCV);
Creates a new NcmStatsDistNdKDEGauss object with sample dimension dim
.
ncm_stats_dist_nd_kde_gauss_ref ()
NcmStatsDistNdKDEGauss *
ncm_stats_dist_nd_kde_gauss_ref (NcmStatsDistNdKDEGauss *dndg);
Increase the reference of stats_dist_nd_kde_gauss
by one.
ncm_stats_dist_nd_kde_gauss_free ()
void
ncm_stats_dist_nd_kde_gauss_free (NcmStatsDistNdKDEGauss *dndg);
Decrease the reference count of stats_dist_nd_kde_gauss
by one.
ncm_stats_dist_nd_kde_gauss_clear ()
void
ncm_stats_dist_nd_kde_gauss_clear (NcmStatsDistNdKDEGauss **dndg);
Decrease the reference count of stats_dist_nd_kde_gauss
by one, and sets the pointer *stats_dist_nd_kde_gauss
to
NULL.
ncm_stats_dist_nd_kde_gauss_set_over_smooth ()
void ncm_stats_dist_nd_kde_gauss_set_over_smooth (NcmStatsDistNdKDEGauss *dndg,const gdouble over_smooth);
Sets the over-smooth factor to over_smooth
.
ncm_stats_dist_nd_kde_gauss_get_over_smooth ()
gdouble
ncm_stats_dist_nd_kde_gauss_get_over_smooth
(NcmStatsDistNdKDEGauss *dndg);
ncm_stats_dist_nd_kde_gauss_set_LOOCV_bandwidth_adj ()
void ncm_stats_dist_nd_kde_gauss_set_LOOCV_bandwidth_adj (NcmStatsDistNdKDEGauss *dndg,gboolean LOOCV);
Sets whether to use LOOCV to adjust the bandwidth.
ncm_stats_dist_nd_kde_gauss_get_LOOCV_bandwidth_adj ()
gboolean
ncm_stats_dist_nd_kde_gauss_get_LOOCV_bandwidth_adj
(NcmStatsDistNdKDEGauss *dndg);
ncm_stats_dist_nd_kde_gauss_add_obs_weight ()
void ncm_stats_dist_nd_kde_gauss_add_obs_weight (NcmStatsDistNdKDEGauss *dndg,NcmVector *y,const gdouble w);
Adds a new point y
to the sample with weight w
.
ncm_stats_dist_nd_kde_gauss_add_obs ()
void ncm_stats_dist_nd_kde_gauss_add_obs (NcmStatsDistNdKDEGauss *dndg,NcmVector *y);
Adds a new point y
to the sample with weight 1.0.
Property Details
The “LOOCV” property
“LOOCV” gboolean
Leave one out cross validation.
Flags: Read / Write / Construct
Default value: FALSE
The “nearPD-maxiter” property
“nearPD-maxiter” guint
Maximum number of iterations in the nearPD call.
Flags: Read / Write / Construct
Allowed values: >= 1
Default value: 200
The “over-smooth” property
“over-smooth” gdouble
Oversmooth distribution.
Flags: Read / Write / Construct
Allowed values: >= 1e-05
Default value: 1