Description Usage Arguments Value Source See Also Examples
This function takes a K-means model fit using kmeans and returns a list-of-lists representing in valid PFA document that could be used for scoring
1 2 3 4 |
object |
an object of class "kmeans" |
name |
a character which is an optional name for the scoring engine |
version |
an integer which is sequential version number for the model |
doc |
a character which is documentation string for archival purposes |
metadata |
a |
randseed |
a integer which is a global seed used to generate all random numbers. Multiple scoring engines derived from the same PFA file have different seeds generated from the global one |
options |
a |
cluster_names |
a character vector of length k to name the values relating to each cluster instead of just an integer. If not specified, then the predicted cluster will be the string representation of the cluster index. |
... |
additional arguments affecting the PFA produced |
a list
of lists that compose valid PFA document
pfa_config.R avro_typemap.R avro.R pfa_cellpool.R pfa_expr.R pfa_utils.R kcca.R
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.