final BasicMLDataSet result = new BasicMLDataSet();
for (int i = 0; i < count; i++) {
final MLData inputData = new BasicMLData(inputCount);
for (int j = 0; j < inputCount; j++) {
inputData.setData(j, rand.range(min, max));
}
final MLData idealData = new BasicMLData(idealCount);
for (int j = 0; j < idealCount; j++) {