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

Problem in exporting Random forest tree images

blueearthblueearth Member Posts: 42 Contributor II
edited November 2018 in Help
hello im not able to exporting images of trees from report generating model ... its says wrong parameter and when i choose random forest parameter it does not provide any images is there any thing i can do to solve this problem?
and how can i change the name of exported images?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.2.001">
 <context>
   <input/>
   <output/>
   <macros/>
 </context>
 <operator activated="true" class="process" compatibility="5.2.001" expanded="true" name="Root">
   <process expanded="true" height="422" width="567">
     <operator activated="true" class="retrieve" compatibility="5.2.001" expanded="true" height="60" name="Retrieve" width="90" x="45" y="30">
       <parameter key="repository_entry" value="//Samples/data/Golf"/>
     </operator>
     <operator activated="true" class="x_validation" compatibility="5.2.001" expanded="true" height="112" name="Random Gini Index" width="90" x="45" y="120">
       <parameter key="use_local_random_seed" value="true"/>
       <process expanded="true" height="396" width="264">
         <operator activated="true" class="random_forest" compatibility="5.2.001" expanded="true" height="76" name="Random Forest" width="90" x="91" y="30"/>
         <connect from_port="training" to_op="Random Forest" to_port="training set"/>
         <connect from_op="Random Forest" from_port="model" to_port="model"/>
         <portSpacing port="source_training" spacing="0"/>
         <portSpacing port="sink_model" spacing="0"/>
         <portSpacing port="sink_through 1" spacing="0"/>
       </process>
       <process expanded="true" height="396" width="264">
         <operator activated="true" class="apply_model" compatibility="5.2.001" expanded="true" height="76" name="Apply Model (13)" width="90" x="45" y="30">
           <list key="application_parameters"/>
         </operator>
         <operator activated="true" class="performance" compatibility="5.2.001" expanded="true" height="76" name="Performance (13)" width="90" x="159" y="30"/>
         <connect from_port="model" to_op="Apply Model (13)" to_port="model"/>
         <connect from_port="test set" to_op="Apply Model (13)" to_port="unlabelled data"/>
         <connect from_op="Apply Model (13)" from_port="labelled data" to_op="Performance (13)" to_port="labelled data"/>
         <connect from_op="Performance (13)" from_port="performance" to_port="averagable 1"/>
         <portSpacing port="source_model" spacing="0"/>
         <portSpacing port="source_test set" spacing="0"/>
         <portSpacing port="source_through 1" spacing="0"/>
         <portSpacing port="sink_averagable 1" spacing="0"/>
         <portSpacing port="sink_averagable 2" spacing="0"/>
       </process>
     </operator>
     <operator activated="true" class="reporting:generate_report" compatibility="5.1.000" expanded="true" height="76" name="Generate Report" width="90" x="246" y="75">
       <parameter key="report_name" value="salam"/>
       <parameter key="format" value="HTML"/>
       <parameter key="repository_entry" value="//LocalRepository/t"/>
       <parameter key="html_output_directory" value="D:\salam"/>
       <parameter key="pdf_output_file" value="C:\Users\username\Desktop\report.pdf"/>
       <parameter key="html_template_file" value="D:\salam\salam.png"/>
       <parameter key="html_logo_file" value="D:\salam\salam"/>
       <parameter key="pdf_template_file" value="no file selected"/>
       <parameter key="image_template_file" value="no file selected"/>
       <parameter key="section_one_font" value="courier"/>
       <parameter key="section_two_font" value="courier"/>
       <parameter key="section_three_font" value="courier"/>
       <parameter key="section_four_font" value="courier"/>
       <parameter key="section_five_font" value="courier"/>
       <parameter key="text_content_font" value="courier"/>
     </operator>
     <operator activated="true" class="reporting:report" compatibility="5.1.000" expanded="true" height="60" name="Report" width="90" x="380" y="75">
       <parameter key="report_name" value="salam"/>
       <parameter key="report_item_header" value="Decision Tree Image"/>
       <parameter key="specified" value="true"/>
       <parameter key="reportable_type" value="Decision Tree"/>
       <parameter key="renderer_name" value="Graph View"/>
       <list key="parameters">
         <parameter key="layout" value="Tree"/>
         <parameter key="show_node_labels" value="true"/>
         <parameter key="show_edge_labels" value="true"/>
       </list>
       <parameter key="image_width" value="600"/>
       <parameter key="image_height" value="700"/>
     </operator>
     <connect from_op="Retrieve" from_port="output" to_op="Random Gini Index" to_port="training"/>
     <connect from_op="Random Gini Index" from_port="model" to_op="Generate Report" to_port="through 1"/>
     <connect from_op="Generate Report" from_port="through 1" to_op="Report" to_port="reportable in"/>
     <portSpacing port="source_input 1" spacing="0"/>
     <portSpacing port="sink_result 1" spacing="0"/>
   </process>
 </operator>
</process>

Answers

  • blueearthblueearth Member Posts: 42 Contributor II
    Its a little important for me...Does anyone know any solution?
Sign In or Register to comment.