pmml.getTreeModel().add(treeModel);
NodeType nodeOfPMML = _40Factory.eINSTANCE.createNodeType();
treeModel.setNode(identifyAndAssociateNodes(nodeOfWeka, nodeOfPMML, null, null));
MiningSchemaType miningSchema = _40Factory.eINSTANCE.createMiningSchemaType();
treeModel.setMiningSchema(miningSchema);
for (int i=0; i < attributesArry.size() ;i++) {
String [] helpBox = attributesArry.get(i);
MiningFieldType miningField = _40Factory.eINSTANCE.createMiningFieldType();
miningField.setName(helpBox[0]); //String
miningSchema.getMiningField().add(miningField);
}
DataDictionaryType dataDictionary = _40Factory.eINSTANCE.createDataDictionaryType();
dataDictionary.setNumberOfFields(BigInteger.valueOf(attributesArry.size()));
pmml.setDataDictionary(dataDictionary);