import com.cloudera.oryx.common.OryxTest;
public final class PMMLUtilsTest extends OryxTest {
public static PMML buildDummyModel() {
Node node = new Node();
node.setRecordCount(123.0);
TreeModel treeModel = new TreeModel(null, node, MiningFunctionType.CLASSIFICATION);
PMML pmml = PMMLUtils.buildSkeletonPMML();
pmml.getModels().add(treeModel);
return pmml;
}