c_H2OKMeans | R Documentation |
Perfomr K-Means clustering using
h2o::h2o.kmeans
c_H2OKMeans(
x,
x.test = NULL,
k = 2,
estimate.k = FALSE,
nfolds = 0,
max.iterations = 10,
ip = "localhost",
port = 54321,
n.cores = rtCores,
seed = -1,
init = c("Furthest", "Random", "PlusPlus", "User"),
categorical.encoding = c("AUTO", "Enum", "OneHotInternal", "OneHotExplicit", "Binary",
"Eigen", "LabelEncoder", "SortByResponse", "EnumLimited"),
verbose = TRUE,
...
)
x |
Input matrix / data.frame |
x.test |
Testing set matrix / data.frame |
k |
Integer: Number of clusters to get |
estimate.k |
Logical: if TRUE, estimate k up to a maximum set by the |
nfolds |
Integer: Number of cross-validation folds |
max.iterations |
Integer: Maximum number of iterations |
ip |
Character: IP address of H2O server. Default = "localhost" |
port |
Integer: Port number of H2O server. Default = 54321 |
n.cores |
Integer: Number of cores to use |
seed |
Integer: Seed for H2O's random number generator. Default = -1 (time-based ranodm number) |
init |
Character: Initialization mode: "Furthest", "Random", "PlusPlus", "User". Default = "Furthest" |
categorical.encoding |
Character: How to encode categorical variables: "AUTO", "Enum", "OneHotInternal", "OneHotExplicit", "Binary", "Eigen", "LabelEncoder", "SortByResponse", "EnumLimited". Default = "AUTO" |
verbose |
Logical: If TRUE, print messages to screen |
... |
Additional arguments to pass to |
Check out the H2O Flow at [ip]:[port]
, Default IP:port is "localhost:54321"
e.g. if running on localhost, point your web browser to localhost:54321
For additional information, see help on h2o::h2o.kmeans
rtMod
object
E.D. Gennatas
Other Clustering:
c_CMeans()
,
c_DBSCAN()
,
c_EMC()
,
c_HARDCL()
,
c_HOPACH()
,
c_KMeans()
,
c_MeanShift()
,
c_NGAS()
,
c_PAM()
,
c_PAMK()
,
c_SPEC()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.