View source: R/130_ClusterConfig.R
| setup_ClusterConfig | R Documentation |
Setup a ClusterConfig object. ClusterConfig is a portable, data-agnostic
recipe for a clustering pipeline: dat_path is optional, so the same config
can be validated, shared, or described without data and have a path bound
later (e.g. by the rtemis CLI) before cluster.
setup_ClusterConfig(
dat_path = NULL,
clustering_config = NULL,
execution_config = setup_FutureExecution(),
outdir = "results/",
verbosity = 1L
)
dat_path |
Character or NULL: Path to input data file. NULL leaves the recipe unbound; set it (or supply data) before cluster. |
clustering_config |
|
execution_config |
|
outdir |
Character: Output directory for results. |
verbosity |
Integer [0, Inf): Verbosity level. |
ClusterConfig object.
EDG
cc <- setup_ClusterConfig(
dat_path = "data.csv",
clustering_config = setup_KMeans(k = 3L),
outdir = "results/"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.