final DataSet ds = DataSet.load(istream);
// The following ranges are setup for the Iris data set. If you wish to normalize other files you will
// need to modify the below function calls other files.
ds.normalizeRange(0, -1, 1);
ds.normalizeRange(1, -1, 1);
ds.normalizeRange(2, -1, 1);
ds.normalizeRange(3, -1, 1);
final Map<String, Integer> species = ds.encodeOneOfN(4);
istream.close();
RBFNetwork network = new RBFNetwork(4, 4, 3);