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> <location/> </input> <output> <location/> <location/> </output> <macros/> </context> <operator activated="true" class="process" expanded="true" name="Process"> <process expanded="true" height="431" width="915"> <operator activated="false" class="retrieve" expanded="true" height="60" name="Retrieve" width="90" x="45" y="30"> <parameter key="repository_entry" value="//Samples/data/Transactions"/> </operator> <operator activated="false" class="set_macro" expanded="true" height="60" name="Define Item Count" width="90" x="179" y="30"> <parameter key="macro" value="%{itemCountAttributeName}"/> <parameter key="value" value="itemCount"/> </operator> <operator activated="false" class="set_macro" expanded="true" height="60" name="Define Customer" width="90" x="313" y="30"> <parameter key="macro" value="customerIdAttributeName"/> <parameter key="value" value="customerId"/> </operator> <operator activated="false" breakpoints="after" class="set_macro" expanded="true" height="60" name="Define Item" width="90" x="447" y="30"> <parameter key="macro" value="itemIdAttributeName"/> <parameter key="value" value="itemId"/> </operator> <operator activated="false" class="aggregate" expanded="true" height="76" name="Aggregate" width="90" x="45" y="255"> <list key="aggregation_attributes"> <parameter key="amount" value="sum"/> </list> <parameter key="group_by_attributes" value="customer_id|product_id"/> </operator> <operator activated="true" class="generate_transaction_data" expanded="true" height="60" name="Generate Transaction Data" width="90" x="4" y="113"> <parameter key="number_clusters" value="1"/> </operator> <operator activated="true" class="pivot" expanded="true" height="76" name="Pivot" width="90" x="179" y="210"> <parameter key="group_attribute" value="Id"/> <parameter key="index_attribute" value="Item"/> </operator> <operator activated="true" class="replace_missing_values" expanded="true" height="94" name="Replace Missing Values" width="90" x="246" y="75"> <parameter key="default" value="zero"/> <list key="columns"/> </operator> <operator activated="true" class="numerical_to_binominal" expanded="true" height="76" name="Numerical to Binominal" width="90" x="380" y="75"/> <operator activated="false" class="set_role" expanded="true" height="76" name="Set Role" width="90" x="313" y="300"> <parameter key="name" value="%{customerIdAttributeName}"/> <parameter key="target_role" value="id"/> </operator> <operator activated="true" class="fp_growth" expanded="true" height="76" name="FP-Growth" width="90" x="447" y="210"/> <operator activated="true" class="create_association_rules" expanded="true" height="60" name="Create Association Rules" width="90" x="581" y="210"> <parameter key="min_confidence" value="0.1"/> </operator> <connect from_op="Generate Transaction Data" from_port="output" to_op="Pivot" to_port="example set input"/> <connect from_op="Pivot" from_port="example set output" to_op="Replace Missing Values" to_port="example set input"/> <connect from_op="Replace Missing Values" from_port="example set output" to_op="Numerical to Binominal" to_port="example set input"/> <connect from_op="Numerical to Binominal" from_port="example set output" to_op="FP-Growth" to_port="example set"/> <connect from_op="FP-Growth" from_port="frequent sets" to_op="Create Association Rules" to_port="item sets"/> <connect from_op="Create Association Rules" from_port="rules" 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>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.0"> <context> <input> <location/> </input> <output> <location/> <location/> <location/> </output> <macros/> </context> <operator activated="true" class="process" expanded="true" name="Process"> <process expanded="true" height="391" width="915"> <operator activated="false" class="retrieve" expanded="true" height="60" name="Retrieve" width="90" x="45" y="30"> <parameter key="repository_entry" value="//Samples/data/Transactions"/> </operator> <operator activated="false" class="set_macro" expanded="true" height="60" name="Define Item Count" width="90" x="179" y="30"> <parameter key="macro" value="%{itemCountAttributeName}"/> <parameter key="value" value="itemCount"/> </operator> <operator activated="false" class="set_macro" expanded="true" height="60" name="Define Customer" width="90" x="313" y="30"> <parameter key="macro" value="customerIdAttributeName"/> <parameter key="value" value="customerId"/> </operator> <operator activated="false" breakpoints="after" class="set_macro" expanded="true" height="60" name="Define Item" width="90" x="447" y="30"> <parameter key="macro" value="itemIdAttributeName"/> <parameter key="value" value="itemId"/> </operator> <operator activated="false" class="aggregate" expanded="true" height="76" name="Aggregate" width="90" x="45" y="255"> <list key="aggregation_attributes"> <parameter key="amount" value="sum"/> </list> <parameter key="group_by_attributes" value="customer_id|product_id"/> </operator> <operator activated="true" class="generate_transaction_data" expanded="true" height="60" name="Generate Transaction Data" width="90" x="4" y="113"> <parameter key="number_clusters" value="1"/> </operator> <operator activated="true" class="pivot" expanded="true" height="76" name="Pivot" width="90" x="179" y="210"> <parameter key="group_attribute" value="Id"/> <parameter key="index_attribute" value="Item"/> </operator> <operator activated="true" class="replace_missing_values" expanded="true" height="94" name="Replace Missing Values" width="90" x="246" y="75"> <parameter key="default" value="zero"/> <list key="columns"/> </operator> <operator activated="true" class="numerical_to_binominal" expanded="true" height="76" name="Numerical to Binominal" width="90" x="380" y="75"/> <operator activated="false" class="set_role" expanded="true" height="76" name="Set Role" width="90" x="313" y="300"> <parameter key="name" value="%{customerIdAttributeName}"/> <parameter key="target_role" value="id"/> </operator> <operator activated="true" class="fp_growth" expanded="true" height="76" name="FP-Growth" width="90" x="447" y="210"/> <operator activated="true" class="create_association_rules" expanded="true" height="60" name="Create Association Rules" width="90" x="581" y="210"> <parameter key="min_confidence" value="0.1"/> </operator> <connect from_op="Generate Transaction Data" from_port="output" to_op="Pivot" to_port="example set input"/> <connect from_op="Pivot" from_port="example set output" to_op="Replace Missing Values" to_port="example set input"/> <connect from_op="Replace Missing Values" from_port="example set output" to_op="Numerical to Binominal" to_port="example set input"/> <connect from_op="Numerical to Binominal" from_port="example set output" to_op="FP-Growth" to_port="example set"/> <connect from_op="Numerical to Binominal" from_port="original" to_port="result 2"/> <connect from_op="FP-Growth" from_port="frequent sets" to_op="Create Association Rules" to_port="item sets"/> <connect from_op="Create Association Rules" from_port="rules" 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"/> <portSpacing port="sink_result 3" spacing="0"/> </process> </operator></process>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.0"> <context> <input> <location/> </input> <output> <location/> <location/> </output> <macros/> </context> <operator activated="true" class="process" expanded="true" name="Process"> <process expanded="true" height="566" width="915"> <operator activated="true" class="retrieve" expanded="true" height="60" name="Retrieve (2)" width="90" x="45" y="30"> <parameter key="repository_entry" value="Total Sales by State"/> </operator> <operator activated="true" class="select_attributes" expanded="true" height="76" name="Select Attributes" width="90" x="45" y="165"> <parameter key="attribute_filter_type" value="subset"/> <parameter key="attributes" value="Item|Products_Sold"/> </operator> <operator activated="true" class="rename" expanded="true" height="76" name="Rename (2)" width="90" x="45" y="300"> <parameter key="old_name" value="Products_Sold"/> <parameter key="new_name" value="Customer Buys"/> </operator> <operator activated="true" class="loop_values" expanded="true" height="76" name="Loop Values (2)" width="90" x="246" y="300"> <parameter key="attribute" value="State"/> <process expanded="true" height="415" width="689"> <operator activated="true" class="filter_examples" expanded="true" height="76" name="Filter Examples" width="90" x="45" y="30"> <parameter key="condition_class" value="attribute_value_filter"/> <parameter key="parameter_string" value="State=%{loop_value}"/> </operator> <operator activated="true" class="pivot" expanded="true" height="76" name="Pivot" width="90" x="179" y="30"> <parameter key="group_attribute" value="Id"/> <parameter key="index_attribute" value="Item"/> </operator> <operator activated="true" class="numerical_to_binominal" expanded="true" height="76" name="Numerical to Binominal" width="90" x="313" y="30"/> <operator activated="true" class="fp_growth" expanded="true" height="76" name="FP-Growth (2)" width="90" x="447" y="30"/> <operator activated="true" class="create_association_rules" expanded="true" height="60" name="Create Association Rules (2)" width="90" x="581" y="120"> <parameter key="min_confidence" value="0.95"/> </operator> <connect from_port="example set" to_op="Filter Examples" to_port="example set input"/> <connect from_op="Filter Examples" from_port="example set output" to_op="Pivot" to_port="example set input"/> <connect from_op="Pivot" from_port="example set output" to_op="Numerical to Binominal" to_port="example set input"/> <connect from_op="Numerical to Binominal" from_port="example set output" to_op="FP-Growth (2)" to_port="example set"/> <connect from_op="FP-Growth (2)" from_port="example set" to_op="Create Association Rules (2)" to_port="item sets"/> <connect from_op="Create Association Rules (2)" from_port="rules" to_port="out 1"/> <portSpacing port="source_example set" spacing="0"/> <portSpacing port="sink_out 1" spacing="0"/> <portSpacing port="sink_out 2" spacing="0"/> </process> </operator> <connect from_op="Retrieve (2)" from_port="output" to_op="Select Attributes" to_port="example set input"/> <connect from_op="Select Attributes" from_port="example set output" to_op="Rename (2)" to_port="example set input"/> <connect from_op="Rename (2)" from_port="example set output" to_op="Loop Values (2)" to_port="example set"/> <connect from_op="Loop Values (2)" from_port="out 1" 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>