Options

how to calculate F score for sentiment analysis? Is there any operator? if yes, how to use it?

maya15maya15 Member Posts: 9 Learner I
edited August 2019 in Help
<?xml version="1.0" encoding="UTF-8"?><process version="8.1.003">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="8.1.003" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="social_media:search_twitter" compatibility="8.1.000" expanded="true" height="68" name="Search Twitter" width="90" x="45" y="34">
        <parameter key="connection" value="Twitter connection 1"/>
        <parameter key="query" value="hydrocarbon"/>
        <parameter key="limit" value="1000"/>
        <parameter key="language" value="en"/>
      </operator>
      <operator activated="true" class="find_threshold" compatibility="8.1.003" expanded="true" height="82" name="Find Threshold" width="90" x="313" y="238"/>
      <operator activated="true" class="remove_duplicates" compatibility="8.1.003" expanded="true" height="103" name="Remove Duplicates" width="90" x="179" y="34">
        <parameter key="include_special_attributes" value="true"/>
      </operator>
      <operator activated="true" class="apply_threshold" compatibility="8.1.003" expanded="true" height="82" name="Apply Threshold" width="90" x="179" y="238"/>
      <operator activated="true" class="write_excel" compatibility="8.1.003" expanded="true" height="82" name="Write Excel" width="90" x="313" y="34">
        <parameter key="excel_file" value="C:\Users\common.AMETUNIV\Documents\twitter data.xlsx"/>
      </operator>
      <operator activated="true" class="com.aylien.textapi.rapidminer:aylien_sentiment" compatibility="0.2.000" expanded="true" height="68" name="Analyze Sentiment" width="90" x="447" y="136">
        <parameter key="connection" value="NewConnection"/>
        <parameter key="input_attribute" value="Text"/>
      </operator>
      <operator activated="true" class="apply_model" compatibility="8.1.003" expanded="true" height="82" name="Apply Model" width="90" x="246" y="340">
        <list key="application_parameters"/>
      </operator>
      <connect from_op="Search Twitter" from_port="output" to_op="Remove Duplicates" to_port="example set input"/>
      <connect from_op="Remove Duplicates" from_port="original" to_op="Write Excel" to_port="input"/>
      <connect from_op="Write Excel" from_port="through" to_op="Analyze Sentiment" to_port="Example Set"/>
      <connect from_op="Analyze Sentiment" from_port="Example Set" to_port="result 1"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
    </process>
  </operator>
</process>


Best Answers

  • Options
    maya15maya15 Member Posts: 9 Learner I
    Solution Accepted
    Thank you for the help.

Answers

  • Options
    maya15maya15 Member Posts: 9 Learner I
    @Telcontar120 after using the performance operator and using f-measure in the options. My process is having so,e other issues. I am getting message " The label attribute(Created-At) must be nominal for the calculation of performance criteria for binomial classification task". I am confused and need some help regarding this. Can you please help me out with the problem.
Sign In or Register to comment.