yashu-seth commented on this pull request.
> + for(size_t i = 0; i < N; i++)
+ {
+ if(i%2 == 0)
+ rdata(j, i) = dist(generator);
+ else
+ rdata(j, i) = dist2(generator);
+ }
+ }
+
+ for(size_t i = 0; i<N; i++)
+ {
+ if(i%2 == 0)
+ probabilities(i) = low_prob(generator);
+ else
+ probabilities(i) = high_prob(generator);
+ }
This would require ensuring shuffling rdata matrix and probabilities vector in
the same order. How to use shuffle for this?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/834_______________________________________________
mlpack mailing list
[email protected]
http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack