🎉 🎉. RAPIDMINER 9.8 IS OUT!!! 🎉 🎉
RapidMiner 9.8 continues to innovate in data science collaboration, connectivity and governance
question about reading a mod file
I am right now need to write a JAVA application for my boss. I tried to read a mod file my colleague has generated using decision tree process and get a treemodel from it.
Here is the code i used:
File modelFile=new File("resources\\xml\\DBDecisionTree3.xml\\");
Operator modelLoader = OperatorService.createOperator("ModelLoader");
IOContainer container = modelLoader.apply(new IOContainer());
model = container.get(TreeModel.class);
Tree root = model.getRoot();
My question is (1) is this the way i get a tree from a mod file?
(2) i got the error saying "cannot read object from XML serialization" what should i do, should i add some jar?
Thanks! And sorry if my post is not clear enough. THnaks for your help!