I'm new to KNIME and I'm facing this problem, I hope you can help me.
In the PMML reader node I used a xml file (EMPMML.xml) generated by SAS Enterprise Miner relating to a neural network. The steps in EM were correct but when I put the file in KNIME there are the following warning and errors:
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it ERROR PMML Error Handler Invalid PMML file:
WARN PMML Reader File "G:\SAS\UCI\UCI\Workspaces\EMWS6\Neural\EMPMML.xml" is not a valid PMML file:
cvc-complex-type.2.1: Element 'Constant' must have no character or element information item [children], because the type's content type is empty.
WARN PMML Reader org.xml.sax.SAXParseException: cvc-complex-type.2.1: Element 'Constant' must have no character or element information item [children], because the type's content type is empty.
it seems that your generated PMML file does not conform to the PMML definition. You can double check this for the PMML versions 2.1, 3.0, 3.1, and 3.2 with the Zementis PMML Converter by uploading your file to the Zementis website http://www.zementis.com/pmml.htm.
I followed your suggestion and converted with Zementis to 3.2. After conversion, it says "The provided file was succesfully converted to PMML 3.2 format."
I put the code in PMML node and the error dissapeared, but I still get warnings:
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "missingValueTreatment" is not supported and will be ignored. Skipping it
WARN MiningSchemaContentHandler "outliers" is not supported and will be ignored. Skipping it
WARN PMML Reader File "C:\Documents and Settings\Marta\Desktop\EMPMML.xml" is not a valid PMML file:
Only logistic activation function is supported in KNIME MLP.
WARN PMML Reader org.xml.sax.SAXException: Only logistic activation function is supported in KNIME MLP.
KNIME accepts this version but does not consume everything that is defined in the PMML standard as it is very comprehensive. Unfortunately only a logistic activation function is supported in KNIME MLP. We cannot handle other activation functions so far. Sorry for that.
yes, you can definitely do the data mining in KNIME. You can also have a look at the nodes that come with the WEKA extension for KNIME. They offer even more mining opportunities.
The KNIME learner are storing their models in PMML. You can write them to disk by using the PMML Writer.