Posts

Showing posts from August, 2017

ECL: How to choose k elements from a dataset of N records?

Image
Solution 1 : Problem : randds (in line 9) can have repeated numbers. Solution 2 : Problem : There is a certain pattern to this sampled data. Solution 3 : Problem : This is slow.