spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fazlan Nazeem <fazl...@wso2.com>
Subject Re: PMML version in MLLib
Date Wed, 04 Nov 2015 11:42:05 GMT
[adding dev]

On Wed, Nov 4, 2015 at 2:27 PM, Fazlan Nazeem <fazlann@wso2.com> wrote:

> I just went through all specifications, and they expect the version
> attribute. This should be addressed very soon because if we cannot use the
> PMML model without the version attribute, there is no use of generating one
> without it.
>
> On Wed, Nov 4, 2015 at 2:17 PM, Stefano Baghino <
> stefano.baghino@radicalbit.io> wrote:
>
>> I used KNIME, which internally uses the org.dmg.pmml library.
>>
>> On Wed, Nov 4, 2015 at 9:45 AM, Fazlan Nazeem <fazlann@wso2.com> wrote:
>>
>>> 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.baghino@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 <fazlann@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>
>>>>> fazlann@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> BR,
>>>> Stefano Baghino
>>>>
>>>> Software Engineer @ Radicalbit
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> Fazlan Nazeem
>>>
>>> *Software Engineer*
>>>
>>> *WSO2 Inc*
>>> Mobile : +94772338839
>>> <%2B94%20%280%29%20773%20451194>
>>> fazlann@wso2.com
>>>
>>
>>
>>
>> --
>> BR,
>> Stefano Baghino
>>
>> Software Engineer @ Radicalbit
>>
>
>
>
> --
> Thanks & Regards,
>
> Fazlan Nazeem
>
> *Software Engineer*
>
> *WSO2 Inc*
> Mobile : +94772338839
> <%2B94%20%280%29%20773%20451194>
> fazlann@wso2.com
>



-- 
Thanks & Regards,

Fazlan Nazeem

*Software Engineer*

*WSO2 Inc*
Mobile : +94772338839
<%2B94%20%280%29%20773%20451194>
fazlann@wso2.com

Mime
View raw message