I have an input CSV file that looks like this:
0.2, abc, def
0.4, fgd, fol
0.4, oqo, asd
where the first column is the relative propability for a record.
Given I can read this file and put the records in an array or a list, how can I write a method in java that returns records from this array, based on their relative distribution?
Aucun commentaire:
Enregistrer un commentaire