throws ActivityProcessingException,
ActivityTerminatedException,
ActivityUserException
{
TupleListIterator tupleList = (TupleListIterator)iterationInputs[0];
ModelStats stat = new ModelStats(tupleList);
stat.countStatistics();
try
{
mOutput.write(stat.toPMMLDocument());
}
catch (PipeClosedException e)
{
iterativeStageComplete();
}