how to calculate F score for sentiment analysis? Is there any operator? if yes, how to use it?
<?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>
Tagged:
2
Best Answers
-
Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635
Unicorn
F-score is one of the performance metric options in the Performance(Binominal Classification) operator, listed as f-measure in the options panel.8 -
Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635
Unicorn
The label is the attribute that you are trying to predict. I am not sure whether you want it to be "Created-At" or not. And it must also be set to type nominal and it should have only 2 values if you are going to use the Performance(Binominal Classification) operator. If you look at any of the sample processes using this operator it will show you the proper setup.6
Answers