Merge components in the density of
merges components whose Kullback-Leibler difference is below the threshold,
mergingThreshold — Threshold for components merging
real positive scalar
Threshold for components merging, specified as a real positive scalar. If the
Kullback-Leibler difference between two components is smaller than the value specified
mergingThreshold argument, then these two components will be
merged into one component. The merged weight of the new component is equal to the
summation of the weights of the two pre-merged components.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Introduced in R2019a