Description Usage Arguments Value Examples
View source: R/machine_learning_kernels.R
ClusteringMicrobenchmark
conducts a single performance trial
of the cluster::clara function with the data given in the
kernelParameters
parameter.
1 | ClaraClusteringMicrobenchmark(benchmarkParameters, kernelParameters)
|
benchmarkParameters |
an object of type
|
kernelParameters |
a list of data objects to be used as input to the clustering function |
a vector containing the user, system, and elapsed performance timings in that order
1 2 3 4 5 6 7 8 9 | ## Not run:
# Allocate input to the pam clustering microbenchmark
microbenchmarks <- GetClusteringExampleMicrobenchmarks()
kernelParameters <- ClusteringAllocator(microbenchmarks[["clara_cluster_3_3_1000"]])
# Execute the microbenchmark
timings <- ClaraClusteringMicrobenchmark(
microbenchmarks[["clara_cluster_3_3_1000"]], kernelParameters)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.