DataType.CHARARRAY));
String weightName = StringUtils.isBlank(evalConfig.getDataSet().getWeightColumnName()) ? "weight"
: evalConfig.getDataSet().getWeightColumnName();
tupleSchema.add(new FieldSchema(SCHEMA_PREFIX + weightName, DataType.CHARARRAY));
if(modelConfig.isRegression()) {
<BUG>if ( this.modelCnt > 0 ) {
addModelSchema(tupleSchema, this.modelCnt, "");</BUG>
}
<BUG>if ( MapUtils.isNotEmpty(this.subModelsCnt) ) {
Iterator<Map.Entry<String, Integer>> iterator = this.subModelsCnt.entrySet().iterator();
while ( iterator.hasNext() ) {
Map.Entry<String, Integer> entry = iterator.next();</BUG>
String modelName = entry.getKey();

DataType.CHARARRAY));
String weightName = StringUtils.isBlank(evalConfig.getDataSet().getWeightColumnName()) ? "weight"
: evalConfig.getDataSet().getWeightColumnName();
tupleSchema.add(new FieldSchema(SCHEMA_PREFIX + weightName, DataType.CHARARRAY));
if(modelConfig.isRegression()) {
if(this.modelCnt > 0) {
addModelSchema(tupleSchema, this.modelCnt, "");
}
if(MapUtils.isNotEmpty(this.subModelsCnt)) {
Iterator<Map.Entry<String, Integer>> iterator = this.subModelsCnt.entrySet().iterator();
while(iterator.hasNext()) {
Map.Entry<String, Integer> entry = iterator.next();
String modelName = entry.getKey();
