How to merge two sets of weka Instances together
Currently, I'm copying one instance at a time from one dataset to the other. Is there a way to do this so that string mappings remain intact? The mergeInstances works horizontally, is there an equivalent vertical merge? This is one step of a loop I use to read datasets of the same structure from multiple arff files into one large dataset. There has got to be a simpler way. Instances iNew = new ConverterUtils.DataSource(name).getDataSet(); for (int i = 0; i < iNew.numInstances(); i++) { Instance nInst = iNew.instance(i); inst.add(nInst); } Why not make a new ARFF file which has the data from