You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Values computed by the cutoff.* functions correspond directly to the thresholds used in the pruning phase of VLMC or coVLMC. As the pruning tests are written as follows
if (p_value > cutoff) {
prune
} else {
do not prune
}
using directly the cutoff values may not induce pruning.
This can be fixed by either:
replacing the test by p_value >= cutoff
slightly decreasing the thresholds reported by cutoff
The first solution departs from what is used in other VLMC implementations, leading to potential differences between the results of very similar codes. The second solution is easy to implement in Rcpp using the nextafter standard function.
The text was updated successfully, but these errors were encountered:
Values computed by the
cutoff.*
functions correspond directly to the thresholds used in the pruning phase of VLMC or coVLMC. As the pruning tests are written as followsusing directly the cutoff values may not induce pruning.
This can be fixed by either:
p_value >= cutoff
cutoff
The first solution departs from what is used in other VLMC implementations, leading to potential differences between the results of very similar codes. The second solution is easy to implement in Rcpp using the
nextafter
standard function.The text was updated successfully, but these errors were encountered: