PamClusteringMicrobenchmark {RHPCBenchmark}R Documentation

Conducts a single performance trial with the cluster::pam function

Description

ClusteringMicrobenchmark conducts a single performance trial of the cluster::pam function with the data given in the kernelParameters parameter.

Usage

PamClusteringMicrobenchmark(benchmarkParameters, kernelParameters)

Arguments

benchmarkParameters

an object of type ClusteringMicrobenchmark specifying various parameters for microbenchmarking the cluster::pam function

kernelParameters

a list of data objects to be used as input to the clustering function

Value

a vector containing the user, system, and elapsed performance timings in that order

Examples

## Not run: 
# Allocate input to the pam clustering microbenchmark
microbenchmarks <- GetClusteringExampleMicrobenchmarks()
kernelParameters <- ClusteringAllocator(microbenchmarks[["pam_cluster_3_3_1000"]])
# Execute the microbenchmark
timings <- PamClusteringMicrobenchmark(
   microbenchmarks[["pam_cluster_3_3_1000"]], kernelParameters)

## End(Not run)


[Package RHPCBenchmark version 0.1.0 Index]