View source: R/pat_threshold.R
| pat_support_threshold | R Documentation |
Configure how a minimum support threshold is estimated during fit().
pat_support_threshold(
method = c("curvature", "min_count", "sqrt", "quantile", "density"),
min_count = 10,
q = 0.25,
scale = 1,
min = 0.001,
max = 0.5
)
method |
Strategy name: |
min_count |
Minimum absolute transaction count for |
q |
Quantile of item frequencies for |
scale |
Multiplicative factor used by |
min |
Minimum allowed support. |
max |
Maximum allowed support. |
A pat_support_threshold object.
pat_support_threshold("curvature")
pat_support_threshold("min_count", min_count = 20)
pat_support_threshold("quantile", q = 0.25, scale = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.