Search results

  1. G

    [Matlab] - Stratified Sampling of Multidimentional Data

    I want to divide a corpus into training & testing sets in a stratified fashion. The observation data points are arranged in a Matrix A as A=[16,3,0;12,6,4;19,2,1;.........;17,0,2;13,3,2] Each column of the matrix represent a distinct feature. In Matlab, the cvpartition(A,'holdout',p)...