Caltech Library logo

clone-sample

Clone a collection into a sample size based training collection and test collection.

In this example we create a training and testing collections based on a training sample size of 1000.

    dataset clone-sample -size=1000 mycollection.ds training.ds test.ds