Hi,
I don't know why my previous post has been deleted.
Using Java I want to load a trained model (decision tree) via ModelLoader and ModelApplier. Once loaded
I want to classify data without using a process because using a process means having to reload the model,
but I need a funtion like this:
private String classify(double[] data){
//Classification
return classification;
}
Right now I created two Operators (ModelLoader and ModelApplier) and connected the input to the output port.
But which operator do I have to use for my example data? I thought I can then connect the example data's operator's
output port to the ModelApplier input port and then just call modelApplier.execute().
Does it work like this? And how can I display the classification string?
Thanks in advance.