This function creates the centers of data nuggets from a random sample.
create.DNcenters(RS,
DN.num,
dist.metric,
make.pb = FALSE)
A data matrix (data frame, data table, matrix, etc) containing only entries of class numeric.
The number of data nuggets to create. Must be of class numeric.
The distance metric used to create the initial centers of data nuggets. Must be 'euclidean' or 'manhattan'.
Print progress bar? Must be TRUE or FALSE.
DN.num by (ncol(RS)) data frame containing the data nugget centers.
This function is used for reducing a random sample to data nugget centers in the create.DN function. NOTE THAT THIS FUNCTION IS NOT DESIGNED FOR USE OUTSIDE OF THE create.DN FUNCTION.
Data Nuggets: A Method for Reducing Big Data While Preserving Data Structure (Submitted for Publication, 2019)