Hi Stefano, Although the intention for my question wasn't as you expected, what you say makes sense. The standard[1] for PMML 4.1 specifies that "*For PMML 4.1 the attribute version must have the value 4.1". *I'm not sure whether that means that other PMML versions do not need that attribute to be set explicitly. I hope someone would answer this.
What was the tool you used to load the PMML? [1] http://dmg.org/pmml/v4-1/GeneralStructure.html On Wed, Nov 4, 2015 at 1:56 PM, Stefano Baghino < stefano.bagh...@radicalbit.io> wrote: > Hi Fazian, > I actually had a problem with an invalid PMML produced by Spark 1.5.1 due > to the missing "version" attribute in the "PMML" tag. Is this your case > too? I've briefly checked the PMML standard and that attribute is required, > so this may be an issue that should be addressed. I'll happily look further > into it, maybe there's already an open issue on this matter. > I quickly checked the code to find the PMML version and the actual value > looks unclear to me (for those reading, I'm > looking org.apache.spark.mllib.pmml.export.PMMLModelExport.scala). > > On Wed, Nov 4, 2015 at 6:39 AM, Fazlan Nazeem <fazl...@wso2.com> wrote: > >> >> Hi, >> >> Can I know which version of PMML is used in MLLIb's PMML export >> functionality for Spark 1.4.1 and Spark 1.5.1? >> I couldn't find this information within the documentation. If present in >> documentation please provide me the source. >> >> >> Thanks & Regards, >> >> Fazlan Nazeem >> >> *Software Engineer* >> >> *WSO2 Inc* >> Mobile : +94772338839 >> <%2B94%20%280%29%20773%20451194> >> fazl...@wso2.com >> > > > > -- > BR, > Stefano Baghino > > Software Engineer @ Radicalbit > -- Thanks & Regards, Fazlan Nazeem *Software Engineer* *WSO2 Inc* Mobile : +94772338839 <%2B94%20%280%29%20773%20451194> fazl...@wso2.com