Description Usage Arguments Value See Also
Initialize the model state
1 2 3 4 5 6 7 8 9 10 11 | initializeState(
sc,
data,
attributeSpecs,
recIdColname,
partitioner,
populationSize,
fileIdColname = NULL,
randomSeed = 1L,
maxClusterSize = 10L
)
|
sc |
A |
data |
A Spark DataFrame or an R object that can be cast to a Spark DataFrame |
attributeSpecs |
A named list of |
recIdColname |
Column name in |
partitioner |
A |
populationSize |
An integer specifying the size of the latent entity
population (optional). If NULL, the population size is set equal to the
number of records in |
fileIdColname |
Column name in |
randomSeed |
An integer random seed. |
maxClusterSize |
A guess at the maximum cluster size in |
A state_jobj
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.