}
InstanceList parameterInstances = new InstanceList(parameterPipe);
if (dmrParameters == null) {
dmrParameters = new MaxEnt(parameterPipe, new double[numFeatures * numTopics]);
}
for (int doc=0; doc < data.size(); doc++) {
if (data.get(doc).instance.getTarget() == null) {