A program to recognize and reward our most engaged community members
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.0"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" expanded="true" name="Process"> <parameter key="logfile" value="/home/riccardo/Workspace/unrealtournament3-dmtm2010/Processes/Log/Loop.log"/> <parameter key="resultfile" value="/home/riccardo/resulloop.res"/> <process expanded="true" height="632" width="1044"> <operator activated="true" class="loop_files" expanded="true" height="60" name="Loop Files" width="90" x="108" y="92"> <parameter key="directory" value="/home/riccardo/Workspace/unrealtournament3-dmtm2010/Training Data"/> <parameter key="filter" value="'*.csv'"/> <process expanded="true" height="650" width="1062"> <operator activated="true" class="read_csv" expanded="true" height="60" name="Read CSV" width="90" x="246" y="75"> <parameter key="file_name" value="%{file_path}.csv"/> </operator> <operator activated="true" class="write_xrff" expanded="true" height="60" name="Write XRFF" width="90" x="380" y="75"> <parameter key="example_set_file" value="/home/riccardo/Workspace/unrealtournament3-dmtm2010/Training Data/pippo.xrff"/> </operator> <connect from_op="Read CSV" from_port="output" to_op="Write XRFF" to_port="input"/> <portSpacing port="source_in 1" spacing="0"/> </process> </operator> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> </process> </operator></process>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.0"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="5.0.0" expanded="true" name="Process"> <process expanded="true" height="632" width="1044"> <operator activated="true" class="loop_files" compatibility="5.0.0" expanded="true" height="76" name="Loop Files" width="90" x="108" y="92"> <parameter key="directory" value="C:\Documents and Settings\Alien\My Documents\rm_workspace"/> <parameter key="filter" value=".*csv"/> <parameter key="iterate_over_subdirs" value="true"/> <process expanded="true" height="296" width="705"> <operator activated="true" class="provide_macro_as_log_value" compatibility="5.0.8" expanded="true" height="76" name="Provide Macro as Log Value" width="90" x="179" y="30"> <parameter key="macro_name" value="file_path"/> </operator> <operator activated="true" class="provide_macro_as_log_value" compatibility="5.0.8" expanded="true" height="76" name="Provide Macro as Log Value (2)" width="90" x="380" y="30"> <parameter key="macro_name" value="file_name"/> </operator> <operator activated="true" class="log" compatibility="5.0.8" expanded="true" height="76" name="Log" width="90" x="585" y="30"> <list key="log"> <parameter key="path" value="operator.Provide Macro as Log Value.value.macro_value"/> <parameter key="name" value="operator.Provide Macro as Log Value (2).value.macro_value"/> </list> </operator> <connect from_port="in 1" to_op="Provide Macro as Log Value" to_port="through 1"/> <connect from_op="Provide Macro as Log Value" from_port="through 1" to_op="Provide Macro as Log Value (2)" to_port="through 1"/> <connect from_op="Provide Macro as Log Value (2)" from_port="through 1" to_op="Log" to_port="through 1"/> <portSpacing port="source_in 1" spacing="0"/> <portSpacing port="source_in 2" spacing="0"/> </process> </operator> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> </process> </operator></process>
ripkars wrote:The error I get is:Cannot create example set meta data: Could not read file 'null': /home/riccardo/file_path (No such file or directory)..Shouldn't RapidMiner set the value at runtime for each of the CSV file in that directory?