How to Deploy a Decision Tree on RapidMiner Server

ChikoChiko Member Posts: 26 Maven
edited November 2019 in Help

Hi,

I have created a decision tree process, trained and tested it in RapidMiner studio and saved the process on a process subfolder on my RapidMiner server. The next thing is I would like to deploy/productionize it on the server and give it an input file(excel) with unseen examples so that it can predicting. I do not know how to do this on RapidMiner Server.  Could someone assist please?

 

Thanks,

 

Chiko

Best Answer

  • Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Solution Accepted

    Hi there @Chiko!

     

    This should be straightforward, assuming your new records to be scored have all the same data as your original training/testing dataset.  Probably the easiest way to accomplish it is as follows:

    1. You'll need to use the "store" operator to store the model that you created in your first project on the server repository.
    2. Then, you'll also need to store the dataset of records to be scored on the server repository as well.
    3. Once they are both available on the server, you will write a process using the "retrieve" operator to first retrieve the dataset, (and make sure you do any data ETL or preprocessing), and then retrieve the model.
    4. Finally you will use "apply model" operator to score the new dataset.  That will output the unscored records with the prediction and the confidence from your original model.

     

    All of these processes will be written in Studio and then stored and executed on your Server.  

     

     

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts

Answers

Sign In or Register to comment.