for (final AnalystField field : analyst.getScript().getNormalize()
.getNormalizedFields()) {
field.init();
}
TimeSeriesUtil series = new TimeSeriesUtil(analyst,true,
analystHeaders.getHeaders());
try {
// write file contents
while (csv.next()) {
double[] output = AnalystNormalizeCSV.extractFields(
this.analyst, analystHeaders, csv, totalCount,
false);
if (series.getTotalDepth() > 1) {
output = series.process(output);
}
MLDataPair pair = BasicMLDataPair.createPair(inputCount,outputCount);
for(int i=0;i<inputCount;i++) {
pair.getInput().setData(i, output[i]);