A program to recognize and reward our most engaged community members
[...]IOContainer resultContainer = process.run();for (IOObject r : resultContainer.asList()) { System.out.println(r.getClass());}
IOContainer ioResult = myProcess.run(datasetfortesting);ExampleSet resultSet = ioResult.get(ExampleSet.class); for(Example example : resultSet){ Attributes atriba = example.getAttributes(); Attribute a = atriba.getPredictedLabel(); predictedLabel = example.getValueAsString(a); System.out.println(predictedLabel); }