protected void train(AbstractOnlineStatisticalComponent<? extends AbstractState> component, NodeList eTrains, int boot)
{
StringModelAD[] models = component.getModels();
int modelSize = models.length;
AbstractAlgorithm algorithm;
StringModelAD model;
int i, nIterations;
Element eTrain;
for (i=0; i<modelSize; i++)
{
eTrain = (Element)eTrains.item(i);
model = models[i];
model.build(getLabelCutoff(eTrain), getFeatureCutoff(eTrain), getRandomSeed(eTrain), true);
model.printInfo(LOG);
nIterations = getNumberOfIterations(eTrain, boot);
algorithm = getAlgorithm(eTrain);
trainOnline(model, algorithm, nIterations);
}