[SOLVED]Export Result Table

duyguduygu Member Posts: 12 Contributor II
edited November 2018 in Help
Hello everyone,

I did Naive Bayes classification and i wan to export the resulting Distribution Table. How can i do that?



  • homburghomburg Moderator, Employee, Member Posts: 114 RM Data Scientist
    Hi duygu,

    there are three ways to do so:

    1. Do "Copy & Paste" in the result view...
    2. Export the model to xml using "Write Model" operator
    3. Install the "Reporting Extension" and have a closer look at the following process
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <process version="6.0.008">
      <operator activated="true" class="process" compatibility="6.0.008" expanded="true" name="Process">
        <process expanded="true">
          <operator activated="true" class="retrieve" compatibility="6.0.008" expanded="true" height="60" name="Retrieve Golf" width="90" x="112" y="75">
            <parameter key="repository_entry" value="//Samples/data/Golf"/>
          <operator activated="true" class="naive_bayes" compatibility="6.0.008" expanded="true" height="76" name="Naive Bayes" width="90" x="246" y="75"/>
          <operator activated="true" class="reporting:generate_report" compatibility="5.3.000" expanded="true" height="76" name="Generate Report" width="90" x="380" y="75">
            <parameter key="report_name" value="My Distribution Table"/>
            <parameter key="pdf_output_file" value="C:\Users\hhomburg\Documents\test.pdf"/>
          <operator activated="true" class="reporting:report" compatibility="5.3.000" expanded="true" height="60" name="Report" width="90" x="514" y="75">
            <parameter key="report_name" value="My Distribution Table"/>
            <parameter key="report_item_header" value="Distributions"/>
            <parameter key="specified" value="true"/>
            <parameter key="reportable_type" value="Distribution Model"/>
            <parameter key="renderer_name" value="Distribution Table"/>
            <list key="parameters">
              <parameter key="min_row" value="1"/>
              <parameter key="max_row" value="2147483647"/>
              <parameter key="min_column" value="1"/>
              <parameter key="max_column" value="2147483647"/>
              <parameter key="sort_column" value="2147483647"/>
              <parameter key="sort_decreasing" value="false"/>
          <connect from_op="Retrieve Golf" from_port="output" to_op="Naive Bayes" to_port="training set"/>
          <connect from_op="Naive Bayes" 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"/>
  • duyguduygu Member Posts: 12 Contributor II
    Thank you for replying,

    i used "Reporting" extension.
Sign In or Register to comment.