.getAttribute("coefficient"));
pred = new NumericPredictor(name, coefficient, exponent);
} else if ("CategoricalPredictor".equals(node.getNodeName())) {
// <CategoricalPredictor name="species" value="setosa"
// coefficient="0"/>
CategoricalDataField df = (CategoricalDataField) schema.get(name);
Integer value = df.categories.indexOf(node.getAttribute("value"));
Double coefficient = Double.valueOf(node
.getAttribute("coefficient"));
pred = new CategoricalPredictor(name, coefficient, value);
} else {