🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Display Decision Tree from rapidminer"

nikiUser: "niki"
New Altair Community Member
Updated by Jocelyn
Hi

I have generated xml from java
then i passed xml to process and run the process
after that how can i get the  tree img from rapidminer?

Process process = new Process(readFileAsString(x));
       IOContainer ioResult = process.run();
TreeModelGraphRenderer gr = new TreeModelGraphRenderer();
        Component visualizationComponent = gr.getVisualizationComponent(model, ioResult);
        GraphCreator<String, String> graphCreator = gr.getGraphCreator(model, ioResult);
        edu.uci.ics.jung.graph.Graph createGraph = graphCreator.createGraph();


As per Class TreeModelGraphCreator
Author IngoMierswa 
An adaptor for the graph creator interface. Subclasses might want to override some of the implemented methods and have to define the GraphCreator.createGraph() method.
do we need to override createGraph() method. if so can u give some clue how can i do it to get the graph?

Find more posts tagged with

Sort by:
1 - 1 of 11