Lately I’ve been trying to come up with a generic way to deploy models on any platform. So I’d like to share some early code that takes a PMML TreeModel and converts it to R code. The intention is to get the R code generation working right, then extend to support generation for other languages. Anyway, here it is (remember — early alpha, very rough still!!). Updates to follow soon!

5 responses so far ↓
1 TimManns // Feb 1, 2010 at 7:35 am
Hi Shane,
I haven’t done anything with PMML for a few years (I’m converting everything, including NN and descision tree scoring etc, into SQL instead), but I did some toying around with converting PMML into other formats with XSLT and into data grids for graphics etc in vb.net.
See these two posts as examples. Not sure if it is useful (probably not), but it might be helpful.
An application to view Neural Net PMML
http://www.kdkeys.net/forums/thread/6509.aspx
VB.NET application to read exported clustering model PMML and export to .csv file
http://www.kdkeys.net/forums/post/3942.aspx
Cheers
Tim
btw – you around in Sydney 11th Feb?
2 Shane Butler // Feb 1, 2010 at 8:24 pm
Thanks Tim, I will check it out.
Sounds like you don’t have too many problems deploying internally from Clementine! Unfortunately with each project I have a different client environment to deploy to, and even scoring in SQL can be a hassle! Eventually I would like to have a similar thing for other models also but I use trees a lot so at the moment I will try get it up and running with them.
Regards, Shane
3 Alex Guazzelli // Feb 2, 2010 at 4:01 am
Hi Shane! Hope this finds you well.
If you are looking for a way to deploy your models in different platforms, you have one option in the market today, ADAPA, our decision engine that uploads decision trees and other predictive models represented PMML and makes them available as web-services. In this way, they can be accessible from any application anywhere in the enterprise. Feel free to contact me if you need further info on how that may work for you or check our posting on web-services and connectivity (http://tinyurl.com/ybcsw5o).
Regards, Alex
4 Shane Butler // Feb 2, 2010 at 7:53 am
Thanks Alex. I am aware of your offering however I am unable to deploy offsite due to the sensitive nature of client data and privacy laws which govern trans-border data flow.
5 Alex Guazzelli // Feb 3, 2010 at 11:21 am
Good point Shane. We actually also offer ADAPA for on site deployment for the reasons you point out. Although pricing is not $.99 per hour of use (as with the cloud option), on-site deployment of ADAPA is more affordable than you may think. Anyway, feel free to contact me directly for more details.
Regards, Alex
Leave a Comment