The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Display Decision Tree from rapidminer"
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?
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?
Tagged:
0
Answers
don't create multiple users and multiple threads for the same topic again, otherwise you won't get an answer at all next time.
Use the following thread:
http://rapid-i.com/rapidforum/index.php/topic,3680.0.html