The KMeansClustering
node in SciCraft has the
following node arguments:
- Input ports:
: Matrix containing the input data.
- Input parameters:
- noclusters: Integer specifying the number of clusters to
be considered.
- iter: Integer specifying the max number of iterations.
- rows: String specifying if you want to cluster over rows or
columns of the input data matrix
.
- Output ports:
- kmeans: R object containing the following
elements:
- cluster: Vector of integers indicating the
cluster to which each point is allocated.
- centers: Matrix containing the cluster centres
for each of the clusters considered.
- withinss: Vector containing the within-cluster
sum of squares for each cluster (See details below).
- size: Vector of integers containing the
number of points within each cluster.
-
: Matrix containing the input data matrix.
Transposed if rows equals "columns"
Bjørn Kåre Alsberg
2006-04-06