Tips & Tricks: Leveraging RapidMiner Server
RapidMiner Server Collaboration
In my past post, Tips & Tricks: Using RapidMiner Server, I introduced you to a few collaboration and deployment capabilities in RapidMiner Server. In this post we’re going to continue with this theme but focus on authorizing groups and showcasing some of the native Web App (Dashboarding) capabilities.
The Use Case: We are on the data science team for a loan provider and we need to work together with our analysts to be able to provide insights for proper investments.
First let us address Authorization in RapidMiner. There are three default groups created in RapidMiner server that are important to us for this case. They are Users, Analysts, and Execute. Users have full control and every new account on Server gets added to the User group. Analysts have read rights for all of the processes on server and Execute can execute any process on the server. What we need is a little different so we need to create three custom groups: Data Scientists, Business Analysts, Loan Rep. In this case the Data Scientists will have full control over the associated folders as they are in charge of content generation. The Business Analysts will have Read and Execute rights due to their need for fresh results they need to be able to update the data daily. And finally, the Loan Rep need to be able to view any results generated by the two previous teams. In order to do this, we navigate to the RM Server Portal and go to User Management under the administration tab.
Next we need to build the custom groups that we need. We do this by clicking on the groups tab and then create new group. From here just fill out the required information, add users to the group, and define the groups Authorization rights.
Now that we have established user groups, we can assign these groups to our repository folder. Then our data science team can build and share multilevel processes and publish them for the other user groups to execute and view the results. Thus enabling each team with the resources they need to be successful.
The easiest collaboration can simply be deployment of the model via RapidMiner Server. Here out team has generated a prediction for loan approval based off of collected data on the applicants. Let us say that the BA team gets fresh loan applicants every morning at 8 AM EST. They need their predictions by 9 AM so they can send a report over to the Loan Reps so they can push through any worthwhile loans. We can solve this by creating a process for deployment and then schedule it using the CRON editor with Processes Scheduler on the Server Portal.
Once we’ve built out the process we want to deploy, we can schedule it to run daily at 8 A.M. EST by hitting the arrow next to the run button and selecting, “Schedule Process on Server”. This will bring you to a new window where we can select the process we want to schedule and then select schedule with CRON. Using the CRON editor we can establish a daily start time for the process to run.
Now that the Cron jobs are established we can run our scoring process overnight, hourly, or even by the minute. The predictive results can now we pushed into a Web App and all end users can consume the information as needed. Let’s set up a Web App to do that next.
Now that we’ve established basic collaboration between our three user groups, we can take it to the next level with the generation of a web app. From the server portal we can create a new web app by navigating to the App Designer button below the sidebar on the portal homepage. This will open a menu for Web App Management and we can go ahead and generate a new web App.
In terms of content, we can publish any charts generated by the predictions, custom charts such as bar graphs or pie charts, User inputs to push through single customer predictions in real time on the web app, and so much more. The possibilities are endless. Apps can be published internally such that you would need to be a user to access its URL or you can make them available publicly as well. There are tons of admin options available when it comes to Web Apps with RapidMiner Server. An end result for our team would look a lot like this.