How To Set up RapidMiner library in Android Studio
I am currently working on an object recognition app. I'm using Android Studio and I have created a Neural Network model on Rapid Miner Studio and saved it as PMML. I want to apply this model on a set of extracted features in Android Studio so that I can obtain a prediction (e.g: is the object a fruit/vegetable/nut?). However, I'm not able to integrate the Rapid Miner library in Android Studio. I've downloaded "rapidminer-extension-template" fromhttps://github.com/rapidminer/rapidminer-extension-template. Is it the correct file that should be downloaded?
I have looked for a working solution for the past 4 days but I can't seem to find one.
Do I have to use the Rapid Miner library to apply the PMML model or is it possible to use something else?
Best Answers
-
theatozchannel5 MemberPosts:4Contributor I
-
theatozchannel5 MemberPosts:4Contributor I
Answers
Ok, I'm not familiar with Android but maybe a RapidMiner Server is what you need to fill the gap.
If you're writing an Andriod app to do something, you could ping an entire RapidMiner process via a RapidMiner Server exposed REST API address. This way the app can communicate with RapidMiner and give a response.
Thanks for your reply. The app is not supposed to require Internet connection to work.
I just need to know:
1. if it is possible to save a Neural Net RapidMiner model as PMML
2. can i import this PMML file in Android Studio/Eclipse so that I can apply it on an ExampleSet to obtain a prediction
1. There is a PMML extension but I'm not sure if you can save a neural net model in PMML format. I would install the extension and test it out.
2. I can't say anything about merging PMML with Andriod Studio, assuming the NN can be saved in PMML format, you'd probably have to check if the Andriod would even support PMML.