Monday, June 25, 2012

Random Samples 1.1

Code:
https://github.com/JasonMOliver/Java_Parsers/blob/master/sampler.java

-----

Below talks a bit about this code. An issue in my variables has caused a math issue with some sample sets so I revisited this code a bit for a fix.

I have changed the code to use the command-line for an input file so it works thus:

java sampler inputfile.csv

Also the math variables are double and round properly so you get an accurate number for large sets.
** If you are using the old source know you may be rounding the wrong way with the sample sets so please use the new code. **

cheers

JSN

No comments:

Post a Comment