PamClusteringMicrobenchmark: Conducts a single performance trial with the cluster::pam...

Description Usage Arguments Value Examples

View source: R/machine_learning_kernels.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
## 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)

RHPCBenchmark documentation built on May 2, 2019, 6:40 a.m.