"Use a hardcoded exampleset on ApplyModel in java"

ameer2014
ameer2014 New Altair Community Member
edited November 2024 in Community Q&A

I have trained the model via Rapidminer gui and now i am using .rpm file to use it in java. Now the problem is I want to simulate a data example in java via ApplyModel operator. How do i do that?

Tagged:

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    @ameer2014 you probably want to use RapidMiner Server for this and/or expose a REST API via RM Server. 

  • ameer2014
    ameer2014 New Altair Community Member

    Actually I am building a java application in which I will use NaiveBayes Classifier. Now the problem is, I want to make an exampleset programatically and then set it as a parameter of Apply Model using .rpm process. In that .setParameter() i want to use exampleset as a parameter. Now the problem is, in this method we have to provide a string as the first arguement of this method. I want to know that string. Can you please help me?