1. A method, comprising: determining proximities between all data samples in a set of the data samples; forming edges between the data samples as a function of the proximities; computing weights for the edges as a function of the proximities; selecting a plurality of the data samples as a function of the weights to form a subset of the data samples; and storing the subset of the data samples.