Options

problem in getting the results

sukhsukh Member Posts: 43 Contributor II
edited November 2018 in Help
hi everyone,
i get problem in having the results , previously it worked well. but now i am having problem in it.
Kindly help .
<code>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="6.3.000">
 <context>
   <input/>
   <output/>
   <macros/>
 </context>
 <operator activated="true" class="process" compatibility="6.0.002" expanded="true" name="Process">
   <process expanded="true">
     <operator activated="true" class="wordnet:open_wordnet_dictionary" compatibility="5.3.000" expanded="true" height="60" name="Open WordNet Dictionary (2)" width="90" x="45" y="30">
       <parameter key="directory" value="/home/sukh/Documents/WordNet-3.0/dict"/>
     </operator>
     <operator activated="true" class="remember" compatibility="6.3.000" expanded="true" height="60" name="Remember" width="90" x="45" y="120">
       <parameter key="name" value="wordnet"/>
       <parameter key="io_object" value="WordnetDictionary"/>
     </operator>
     <operator activated="true" class="subprocess" compatibility="6.3.000" expanded="true" height="76" name="Subprocess" width="90" x="45" y="210">
       <process expanded="true">
         <portSpacing port="source_in 1" spacing="0"/>
         <portSpacing port="source_in 2" spacing="0"/>
         <portSpacing port="sink_out 1" spacing="0"/>
         <portSpacing port="sink_out 2" spacing="0"/>
       </process>
     </operator>
     <operator activated="true" class="text:process_document_from_file" compatibility="6.1.000" expanded="true" height="76" name="Process Documents from Files" width="90" x="179" y="30">
       <list key="text_directories">
         <parameter key="negative" value="/home/sukh/Desktop/data/movie_bing/txt_sentoken/neg"/>
         <parameter key="positive" value="/home/sukh/Desktop/data/movie_bing/txt_sentoken/pos"/>
       </list>
       <parameter key="keep_text" value="true"/>
       <process expanded="true">
         <operator activated="true" class="text:tokenize" compatibility="6.1.000" expanded="true" height="60" name="Tokenize" width="90" x="112" y="75"/>
         <operator activated="true" class="text:filter_stopwords_english" compatibility="6.1.000" expanded="true" height="60" name="Filter Stopwords (English)" width="90" x="246" y="75"/>
         <operator activated="true" class="recall" compatibility="6.3.000" expanded="true" height="60" name="Recall" width="90" x="112" y="210">
           <parameter key="name" value="wordnet"/>
           <parameter key="io_object" value="WordnetDictionary"/>
           <parameter key="remove_from_store" value="false"/>
         </operator>
         <operator activated="true" class="wordnet:find_sentiment_wordnet" compatibility="5.3.000" expanded="true" height="76" name="Extract Sentiment (English)" width="90" x="313" y="210"/>
         <operator activated="true" class="text:stem_porter" compatibility="6.1.000" expanded="true" height="60" name="Stem (Porter)" width="90" x="447" y="210"/>
         <connect from_port="document" to_op="Tokenize" to_port="document"/>
         <connect from_op="Tokenize" from_port="document" to_op="Filter Stopwords (English)" to_port="document"/>
         <connect from_op="Filter Stopwords (English)" from_port="document" to_op="Extract Sentiment (English)" to_port="document"/>
         <connect from_op="Recall" from_port="result" to_op="Extract Sentiment (English)" to_port="dictionary"/>
         <connect from_op="Extract Sentiment (English)" from_port="document" to_op="Stem (Porter)" to_port="document"/>
         <connect from_op="Stem (Porter)" from_port="document" to_port="document 1"/>
         <portSpacing port="source_document" spacing="0"/>
         <portSpacing port="sink_document 1" spacing="0"/>
         <portSpacing port="sink_document 2" spacing="0"/>
       </process>
     </operator>
     <operator activated="true" class="set_role" compatibility="6.3.000" expanded="true" height="76" name="Set Role" width="90" x="313" y="30">
       <parameter key="attribute_name" value="label"/>
       <parameter key="target_role" value="label"/>
       <list key="set_additional_roles"/>
     </operator>
     <operator activated="true" class="store" compatibility="6.3.000" expanded="true" height="60" name="Store" width="90" x="179" y="255">
       <parameter key="repository_entry" value="//Local Repository/S-word"/>
     </operator>
     <operator activated="true" class="x_validation" compatibility="6.3.000" expanded="true" height="112" name="Validation" width="90" x="447" y="30">
       <parameter key="use_local_random_seed" value="true"/>
       <process expanded="true">
         <operator activated="true" class="support_vector_machine" compatibility="6.3.000" expanded="true" height="112" name="SVM" width="90" x="45" y="75"/>
         <operator activated="false" class="naive_bayes" compatibility="6.3.000" expanded="true" height="76" name="Naive Bayes" width="90" x="45" y="255"/>
         <connect from_port="training" to_op="SVM" to_port="training set"/>
         <connect from_op="SVM" from_port="model" to_port="model"/>
         <connect from_op="SVM" from_port="estimated performance" to_port="through 1"/>
         <portSpacing port="source_training" spacing="0"/>
         <portSpacing port="sink_model" spacing="0"/>
         <portSpacing port="sink_through 1" spacing="0"/>
         <portSpacing port="sink_through 2" spacing="0"/>
       </process>
       <process expanded="true">
         <operator activated="true" class="apply_model" compatibility="6.3.000" expanded="true" height="76" name="Apply Model" width="90" x="45" y="30">
           <list key="application_parameters"/>
         </operator>
         <operator activated="true" class="performance_binominal_classification" compatibility="6.3.000" expanded="true" height="76" name="Performance" width="90" x="45" y="165"/>
         <operator activated="true" class="write_as_text" compatibility="6.3.000" expanded="true" height="76" name="Write as Text" width="90" x="112" y="300">
           <parameter key="result_file" value="/home/sukh/Desktop/result.res"/>
         </operator>
         <connect from_port="model" to_op="Apply Model" to_port="model"/>
         <connect from_port="test set" to_op="Apply Model" to_port="unlabelled data"/>
         <connect from_op="Apply Model" from_port="labelled data" to_op="Performance" to_port="labelled data"/>
         <connect from_op="Performance" from_port="performance" to_op="Write as Text" to_port="input 1"/>
         <connect from_op="Write as Text" from_port="input 1" 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="source_through 2" spacing="0"/>
         <portSpacing port="sink_averagable 1" spacing="0"/>
         <portSpacing port="sink_averagable 2" spacing="0"/>
       </process>
     </operator>
     <operator activated="true" class="store" compatibility="6.3.000" expanded="true" height="60" name="Store (2)" width="90" x="447" y="255">
       <parameter key="repository_entry" value="//NewLocalRepository/s-model"/>
     </operator>
     <connect from_op="Open WordNet Dictionary (2)" from_port="dictionary" to_op="Remember" to_port="store"/>
     <connect from_op="Remember" from_port="stored" to_op="Subprocess" to_port="in 1"/>
     <connect from_op="Subprocess" from_port="out 1" to_op="Process Documents from Files" to_port="word list"/>
     <connect from_op="Process Documents from Files" from_port="example set" to_op="Set Role" to_port="example set input"/>
     <connect from_op="Process Documents from Files" from_port="word list" to_op="Store" to_port="input"/>
     <connect from_op="Set Role" from_port="example set output" to_op="Validation" to_port="training"/>
     <connect from_op="Validation" from_port="model" to_op="Store (2)" to_port="input"/>
     <connect from_op="Validation" from_port="training" to_port="result 1"/>
     <connect from_op="Validation" from_port="averagable 1" to_port="result 2"/>
     <portSpacing port="source_input 1" spacing="0"/>
     <portSpacing port="sink_result 1" spacing="0"/>
     <portSpacing port="sink_result 2" spacing="0"/>
     <portSpacing port="sink_result 3" spacing="0"/>
   </process>
 </operator>
</process>
</code>

Thanks and regards:
Sukh
Sign In or Register to comment.