print.gama: Prints results of a Gama clustering.

Description Usage Arguments See Also Examples

Description

This function takes a gama object and prints:

  1. a sample of the original dataset used for clustering;

  2. the cluster solution (partitions);

  3. the centers of partitions;

  4. the indices Average Silhouette Width (ASW), Calinski Harabasz (CH), C-Index (CI), Dunn index (DI).

Usage

1
2
 ## S3 method for class 'gama'
print(x, ...)

Arguments

x

an object of type 'gama' generated by an appropriate call to the clustering algorithm.

...

other arguments that user may pass to the function.

See Also

gama, gama.plot.partitions.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
  # loads data about CPU execution metrics of a distributed
  # version of Alternating Least Squares (ALS) algorithm
  data(cpu.als)

  # call the gama clustering algorithm
  gamaObj <- gama(cpu.als, k = 4)

  # call the print.gama function to detail the clustering results
  # note: print.gama uses generic function concept, which allows a call to print, only.
  print(gamaObj)

  
## End(Not run)

gama documentation built on May 2, 2019, 6:45 a.m.