# Predictive Analytics Sample Not Working

**URL:** <https://community.cumulocity.com/t/predictive-analytics-sample-not-working/754>\
**Category:** Forum\
**Tags:** analytics, Streaming-Analytics-Apama\
**Created:** [April 22, 2019, 3:32pm UTC](https://community.cumulocity.com/t/predictive-analytics-sample-not-working/754 "2019-04-22T15:32:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abir\_Banerjee1](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Abir\_Banerjee1](https://community.cumulocity.com/u/Abir_Banerjee1)\
**Post date:** [April 22, 2019, 3:32pm UTC](https://community.cumulocity.com/t/predictive-analytics-sample-not-working/754/1 "2019-04-22T15:32:40Z")

</div>

Hi All,

I am trying to run the sample project for EnergyData , related to predictive analytics , and I am getting the below error,

ERROR [6560:processing] - \<Instance\_1\> Failed to import PMML file EnergyDataModel.pmml, error null

As a result when the events are injected they are throwing the error,

INFO [6560] - com.apama.pa.pmml.sample.PredictiveAnalytics\_EnergyData\_Sample [1] {“PredictiveAnalytics\_Error”:“Discarding request(s) to process data for model Linear\_Regression\_Model, Model doesn’t exist or No Models available”}

Now as a pre-requisite , I checked and found that the zementis.license file is present in the directory,

\Zementis\adapa-bundle\lib

Please help.

Regards  
Abir

---

<div class="post-metadata">

**Author:** ![Sandeep\_Komarneni](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/sandeep_komarneni/32/18273_2.png) [@Sandeep\_Komarneni](https://community.cumulocity.com/u/Sandeep_Komarneni)\
**Post date:** [April 22, 2019, 3:36pm UTC](https://community.cumulocity.com/t/predictive-analytics-sample-not-working/754/2 "2019-04-22T15:36:07Z")

</div>

Which version of Apama/Predictive Analytics Plug-in are you using?

Can you also check if the license is valid (i.e. not expired) ?

---

<div class="post-metadata">

**Author:** ![Abir\_Banerjee1](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Abir\_Banerjee1](https://community.cumulocity.com/u/Abir_Banerjee1)\
**Post date:** [April 22, 2019, 3:50pm UTC](https://community.cumulocity.com/t/predictive-analytics-sample-not-working/754/3 "2019-04-22T15:50:39Z")

</div>

Hi Sandeep,

It worked now , I replaced the zementis.license (which was in xml format , basically the PAMSE license xml ) which gets placed during the installation of predictive engine plugin , with the zementis.license used for Zementis installation (non xml .lic format).

Regards  
Abir

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 2, 2021, 3:42pm UTC](https://community.cumulocity.com/t/predictive-analytics-sample-not-working/754/4 "2021-04-02T15:42:39Z")

</div>


