About Us Icon About Us Icon Business Analyst Icon Business Analyst Icon CEO Icon CEO Icon Datameer Icon Datameer Icon Envelope Icon Envelope Icon Facebook Icon Facebook Icon Google Plus Icon Google Plus Icon Instagram Icon Instagram Icon IT Professional Icon IT Professional Icon Learn Icon Learn Icon Linkedin Icon Linkedin Icon Product Icon Product Icon Partners Icon Partners Icon Search Icon Search Icon Social Networks Icon Social Networks Icon Share Icon Share Icon Support Icon Support Icon Testimonial Icon Testimonial Icon Twitter Icon Twitter Icon

Datameer Blog

How-to: Use PMML Plug-in for Predictive Modeling in Datameer

By on May 16, 2014

The other day I was discussing extreme global weather patterns with some of my colleagues, El Niño in particular. I started thinking that, with the help of a predictive model and our PMML Plug-in, we could use Datameer to predict the temperature of ocean currents, which is responsible for this type of climate phenomena.

To kick things off, let’s use a sample WeatherData set I have, which includes a variety of information like latitude, longitude, humidity components, etc. Initially, I go under Admin to the list of plug-ins where I will see a number of options that I can select from — we have quite a variety but you can always create a customized plug-in if you need something specific. Select the Universal PMML option (by Zementis) toward the bottom of the list, select configure and then choose your existing PMML file you want to apply to your data set (in this case it’s ElNino.pmml). Now you can go back to the Browser tab and add the WeatherData set to a new workbook.

How-to: Use PMML Plug-in for Predictive Modeling How-to: Use PMML Plug-in for Predictive Modeling How-to: Use PMML Plug-in for Predictive Modeling How-to: Use PMML Plug-in for Predictive Modeling

Now I have a variety of columns that display my weather data in a structured, easy-to-read Excel-like format.

How-to: Use PMML Plug-in for Predictive Modeling

Once the data is in, I can apply my pre-existing PMML model. To do so, I start by selecting the next available column, which in this case is column G, and in the Formula Builder,  select the PMML formula that I already have, and complete the arguments that I need (already available in my workbook under each column).

How-to: Use PMML Plug-in for Predictive Modeling

You will now see the results in column G. I can adjust the title to reflect what my predictive model is (StreamTemp) and round the decimals to a much more manageable number but in essence, I now know what the ocean current temperature would need to be when aligned with specific climate elements to create something as incredible as El Niño.

How-to: Use PMML Plug-in for Predictive Modeling

Check out the full tutorial below and be sure to download a trial version of Datameer to try this yourself: http://www.datameer.com/Datameer-trial.html?source=blog


Connect with Datameer

Follow us on Twitter
Connect with us on LinkedIn, Google+ and Facebook


Sudhir Chandra

Subscribe