I want to deploy my Rapidminer model to End User Application
inceptorfull
New Altair Community Member
dear all, first I have no idea about programming nor deploying
I created a model so data set entered then processed using stacking including NN and K-nn and get the results, so how to deploy that model to make it end user application so can enter NEW data and get predication? so what should I do as new starter to make such application?
I created a model so data set entered then processed using stacking including NN and K-nn and get the results, so how to deploy that model to make it end user application so can enter NEW data and get predication? so what should I do as new starter to make such application?
0
Answers
-
Hi,
sounds like a job for a web service on RM Server
You can pass in data in various formats, e.g. JSON or even Excel files and get the prediction outcome in various formats.
Regards,
Marco0 -
Yes, particularly if you are not experienced with programming then the webservices creation with RapidMiner is very straightforward.
There's some useful videos on Youtube describing how to create one from a process you have made.0 -
Thanks all can i deploy it on pc application or have to be on web server
0 -
Hi,
you need the Server for that.
Regards,
Marco0 -
thanks a lot i got it and will try, if have any tutorials for deploying it into Standalone application will apperciate it so I can make it work without the server later on0
-
Hello,
I'm not sure, but maybe this post is what you want:
http://rapid-i.com/rapidforum/index.php/topic,5807.0.html
(I'm not sure if it works for RM7.)
Best wishes,
Vaclav0 -
thanks for that, I found how to run it with java, but I couldnot understand . also does it work on new dataset?
is there a way to import the PMML model then deploy it in standalone java application or any coded application so insert new dataset and get results?0 -
Hello,
if you have created process (with port connected to the process input) and new Example set, you can process this exampleSet by calling:process.run(new IOContainer(exampleSet))
Vaclav0 -
thanks all, I just want to get the java classes of my process so I can deploy in java application to be used to predict new dataset0
-
There is no java classes of process. Process is represented only by xml which is deserialized to objects in memory.0
-
Here's a quick explanation on how it works.
You build RapidMiner processes using the GUI which stores the workflow as an XML file.
On running a process in RapidMiner the XML is read by the RapidMiner Engine and it follows it as a set of instructions.
For example- Step 1: Read Data
- Step 2: Train Naive Bayes Model
- Step 3: Read NewData
- Step 4: Apply Model to Data
- Step 5: Store Results
So, the solution is to include RapidMiner as the engine within your java program.
In your Java program you then ask the RapidMiner engine to run the process XML you have created.
This has the advantage that when you need to update your model you just replace the XML with a new one you have created with RapidMiner Studio.
Hope that makes it clearer.
You can get an OEM licence to do this from RM. Play with RM 5.3 to do it in earlier versions.
I believe the Server licencing also covers it too so you can have the option of WebService or Java calls.0 -
really thank you for your helpful and detailed answer, but seems it need a programmer to do so, also it will make me still need rapidminer to get the XML of the new data.
thanks a lot0 -
You don't have a programmer for your existing application? You might need to explain a little. I'm sure there's several people on this forum who can offer assistance integrating into your application for consulting costs so you might not need to hire a programmer.
Also the reason Marco & I suggested RapidMiner Server initially is that you don't need to be a programmer to create a deployable process. It's really easy to create WebApps & Web Services which you can call from other applications just by using a URL.
Your users can login to a web interface, upload their data and receive the predictions to download. Really easy to do and no programming required.0 -
I applied for Rapidminer server Academic licence but not accepted I donot know why, I wish I can try it , guess it is my last solution , if no one give me a guide for what to learn to create that application.
what should I do with macro? and thanks for your follow up0 -
finally got rapidminer server license, so can anyone provide me with tutorial so I can make my predicitve model in web based application to be used by others? ( for teaching purpose)0
-
Hi,
have a look at our YT channel: https://www.youtube.com/user/RapidIVideos/videos
This (older) video might still be helpful: https://www.youtube.com/watch?v=SBCUwA6llns
Regards,
Marco0