diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-11-30 23:21:32 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-11-30 23:21:32 +0100 |
commit | f55e5dcfa82b552a1eb6642b093ed42a48565a3a (patch) | |
tree | aa3b83296280a5846669451b9d3b27ccd12c645d | |
parent | 6942d8c4f847bf8ad8c5184d7d1b2ae341f01ba3 (diff) |
main.cpp: Back to random sampling.
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -135,7 +135,8 @@ int main(int argc, char **argv) sampleIndices.load(indicesFilename.toStdString(), arma::raw_ascii); subsampleSize = sampleIndices.n_elem; } else { - sampleIndices = relevanceSampling(X, subsampleSize); + // sampleIndices = relevanceSampling(X, subsampleSize); + sampleIndices = arma::randi<arma::uvec>(subsampleSize, arma::distr_param(0, n-1)); } } if (parser.isSet(subsampleFileOutputOption)) { |