Question

I'm developing an app which uses RapidMiner for classification. I train the classifier time to time (e.g. daily) but I use the classifier in very high rate (250 per sec). For this purpose, I created two Processes using RM GUI. First one trains the classifier and saves it into a model file while the second one uses it for classification.

In the second process I load the model file which the first process creates. This made it very slow since it seems that the process loads it every time I want to classify an input. You can see the second process in the following picture:
(source: shiaupload.ir)

What's the more smart way of doing this?

P.S. I think a solution is to create another process which only loads the created classifier only once and then give it to ApplyModel subprocess as another input. But I didn't find a solution for doing so in Java code.

Was it helpful?

Solution

Already discussed and solved here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top