Hi Tishan,

This is an expected behaviour since we have changed the model classes in ML
1.1.0.

@Rukshani can you please document this under [1].

[1]
https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions

On Thu, Feb 18, 2016 at 12:12 PM, Tishan Dahanayakage <[email protected]>
wrote:

> Hi all,
>
> ML models built with ML 1.0.0 is not compatible with ML 1.1.0. If we try
> to use a model build with 1.0.0 against ML 1.1.0 features following
> exception is generated. Came across this when testing ML extension for CEP.
>
>
> org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException:
> org.wso2.siddhi.core.exception.ExecutionPlanCreationException: Error while
> retrieving ML-model :
> registry:/_system/governance/2.Model.2015-12-22_19-47-59
> org.wso2.carbon.ml.core.spark.models.MLGeneralizedLinearModel; local class
> incompatible: stream classdesc serialVersionUID = -1410218250358516850,
> local class serialVersionUID = 8020448562088344988 in execution plan
> "ExecutionPlanML"
> at
> org.wso2.carbon.event.processor.core.internal.util.helper.EventProcessorHelper.validateExecutionPlan(EventProcessorHelper.java:193)
> ...
> Caused by: org.wso2.siddhi.core.exception.ExecutionPlanCreationException:
> Error while retrieving ML-model :
> registry:/_system/governance/2.Model.2015-12-22_19-47-59
> org.wso2.carbon.ml.core.spark.models.MLGeneralizedLinearModel; local class
> incompatible: stream classdesc serialVersionUID = -1410218250358516850,
> local class serialVersionUID = 8020448562088344988
> at
> org.wso2.carbon.ml.siddhi.extension.PredictStreamProcessor.logError(PredictStreamProcessor.java:350)
> at
> org.wso2.carbon.ml.siddhi.extension.PredictStreamProcessor.init(PredictStreamProcessor.java:187)
> ... 82 more
>
> Is this expected behavior? If so ​I think we need to mention that models
> are not backward compatible in docs.​
>
>
> --
> Tishan Dahanayakage
> Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

Fazlan Nazeem

*Software Engineer*

*WSO2 Inc*
Mobile : +94772338839
<%2B94%20%280%29%20773%20451194>
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to