I am trying to generate random instances to create a dataset.I try creating it with the next code:
....
Instance tmpInstance = InstanceTools.randomInstance(4);
data.add(tmpInstance);
....
If I print it in the system.out:
[{[0.9539317274046737, 0.7367254963392549, 0.9265618402925881, 0.6691294511669751];null}]
But when I save it to a file, the numbers aren't separated by anything, they are all the numbers together.
net.sf.javaml.tools.data.FileHandler.exportDataset(data, new File("C:/Users/agomez/Desktop/data.csv"));
How can I separate them?