association rule mining question
halaalrobassy
New Altair Community Member
i have five dimension dataset and i used fp-growth process with association rules. i am confused from the rules appeared in promises and conclusion. for example :the first rule is : lib_cat = c_mid with 0.7 of support and 0.79 if confiedence , the second rule is opposite : c_mid = lib_cat with 0.7 support and .97 of confiedence .and this happen to must of the rules generated .
my question, is this true or no???
i attatched the rules to be clearer. hope you can help me in explaning what is the reason of this and if it is true or wrong
the process as the following:
my question, is this true or no???
i attatched the rules to be clearer. hope you can help me in explaning what is the reason of this and if it is true or wrong
the process as the following:
<?xml version="1.0" encoding="UTF-8"?><process version="9.2.001">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="9.2.001" expanded="true" name="Process">
<parameter key="logverbosity" value="init"/>
<parameter key="random_seed" value="2001"/>
<parameter key="send_mail" value="never"/>
<parameter key="notification_email" value=""/>
<parameter key="process_duration_for_mail" value="30"/>
<parameter key="encoding" value="SYSTEM"/>
<process expanded="true">
<operator activated="false" class="retrieve" compatibility="9.2.001" expanded="true" height="68" name="Retrieve all_major_bat_last" width="90" x="112" y="238">
<parameter key="repository_entry" value="//Local Repository/summer/bat2016-2017/all_major_bat_last"/>
</operator>
<operator activated="false" class="store" compatibility="9.2.001" expanded="true" height="68" name="Store" width="90" x="112" y="340">
<parameter key="repository_entry" value="//Local Repository/summer/2016-2017_for_fp/2016-2017_bat"/>
</operator>
<operator activated="false" class="generate_attributes" compatibility="9.2.001" expanded="true" height="82" name="Generate Attributes (2)" width="90" x="45" y="340">
<list key="function_descriptions">
<parameter key="G3" value="if(G2>=80,"Excellent",if(G2>=60,"good",if(G2<60,"weak","no")))"/>
</list>
<parameter key="keep_all" value="true"/>
</operator>
<operator activated="true" class="retrieve" compatibility="9.2.001" expanded="true" height="68" name="Retrieve 2016-2017&2-17-2018MERGE22" width="90" x="45" y="34">
<parameter key="repository_entry" value="../2016-2017with2017-2018merge/2016-2017&2-17-2018MERGE22"/>
</operator>
<operator activated="true" class="generate_attributes" compatibility="9.2.001" expanded="true" height="82" name="Generate Attributes" width="90" x="514" y="85">
<list key="function_descriptions">
<parameter key="lib_cat" value="if(lib_count<=5,"l_low",if(lib_count<=10,"l_mid",if(lib_count<=14,"l_high","l_higher")))"/>
<parameter key="cons_cat" value="if(st_cons<=1500,"c_low",if(st_cons<=3000,"c_mid",if(st_cons<=4000,"high","higher")))"/>
<parameter key="grade_cat" value="if(G1>=90,"Excellent",if(G1<=80,"v.good",if(G1>=60,"good","fail")))"/>
<parameter key="grade_cat2" value="if(G2>=90,"Excellent",if(G2>=80,"v.good",if(G2>=60,"good","fail")))"/>
</list>
<parameter key="keep_all" value="true"/>
</operator>
<operator activated="true" class="select_attributes" compatibility="9.2.001" expanded="true" height="82" name="Select Attributes" width="90" x="648" y="85">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value="cons_cat|fieldcode|lib_cat|grade_cat"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="attribute_value"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="time"/>
<parameter key="block_type" value="attribute_block"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="value_matrix_row_start"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
</operator>
<operator activated="true" class="filter_examples" compatibility="9.2.001" expanded="true" height="103" name="Filter Examples" width="90" x="648" y="238">
<parameter key="parameter_expression" value=""/>
<parameter key="condition_class" value="custom_filters"/>
<parameter key="invert_filter" value="false"/>
<list key="filters_list">
<parameter key="filters_entry_key" value="fieldcode.eq.1"/>
</list>
<parameter key="filters_logic_and" value="true"/>
<parameter key="filters_check_metadata" value="true"/>
</operator>
<operator activated="true" class="subprocess" compatibility="9.2.001" expanded="true" height="82" name="Turbo Prep Process" width="90" x="782" y="85">
<process expanded="true">
<operator activated="true" class="subprocess" compatibility="9.2.001" expanded="true" height="82" name="Subprocess" width="90" x="45" y="34">
<process expanded="true">
<operator activated="true" class="nominal_to_text" compatibility="9.2.001" expanded="true" height="82" name="Nominal to Text" width="90" x="45" y="34">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<description align="center" color="transparent" colored="false" width="126">Change all categorical columns to text</description>
</operator>
<operator activated="true" class="text_to_nominal" compatibility="9.2.001" expanded="true" height="82" name="Text to Nominal" width="90" x="179" y="34">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="text"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="text"/>
<parameter key="block_type" value="value_matrix"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="value_matrix_row_start"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<description align="center" color="transparent" colored="false" width="126">Change all text columns to nominal</description>
</operator>
<operator activated="true" class="numerical_to_real" compatibility="9.2.001" expanded="true" height="82" name="Numerical to Real" width="90" x="404" y="34">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="numeric"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="real"/>
<parameter key="block_type" value="value_series"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="value_series_end"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<description align="center" color="transparent" colored="false" width="126">Change all numerical columns to real</description>
</operator>
<connect from_port="in 1" to_op="Nominal to Text" to_port="example set input"/>
<connect from_op="Nominal to Text" from_port="example set output" to_op="Text to Nominal" to_port="example set input"/>
<connect from_op="Text to Nominal" from_port="example set output" to_op="Numerical to Real" to_port="example set input"/>
<connect from_op="Numerical to Real" from_port="example set output" to_port="out 1"/>
<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>
<description align="center" color="transparent" colored="false" width="126">Unify column types</description>
</operator>
<operator activated="true" class="numerical_to_polynominal" compatibility="9.2.001" expanded="true" height="82" name="Numerical to Polynominal" origin="GENERATED_TURBOPREP" width="90" x="179" y="34">
<parameter key="attribute_filter_type" value="regular_expression"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="regular_expression" value="\Qfieldcode\E"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="numeric"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="real"/>
<parameter key="block_type" value="value_series"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="value_series_end"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<description align="center" color="transparent" colored="false" width="126">Convert numbers to nominal in fieldcode</description>
</operator>
<operator activated="true" class="replace" compatibility="9.2.001" expanded="true" height="82" name="Replace" origin="GENERATED_TURBOPREP" width="90" x="404" y="34">
<parameter key="attribute_filter_type" value="regular_expression"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="regular_expression" value="\Qfieldcode\E"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="replace_what" value="\Q1\E"/>
<parameter key="replace_by" value="Engineering"/>
<description align="center" color="transparent" colored="false" width="126">Replace '1' by 'Engineering' in fieldcode</description>
</operator>
<operator activated="true" class="replace" compatibility="9.2.001" expanded="true" height="82" name="Replace (2)" origin="GENERATED_TURBOPREP" width="90" x="538" y="34">
<parameter key="attribute_filter_type" value="regular_expression"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="regular_expression" value="\Qfieldcode\E"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="replace_what" value="\Q2\E"/>
<parameter key="replace_by" value="Design&Arts"/>
<description align="center" color="transparent" colored="false" width="126">Replace '2' by 'Design&Arts' in fieldcode</description>
</operator>
<operator activated="true" class="replace" compatibility="9.2.001" expanded="true" height="82" name="Replace (3)" origin="GENERATED_TURBOPREP" width="90" x="672" y="34">
<parameter key="attribute_filter_type" value="regular_expression"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="regular_expression" value="\Qfieldcode\E"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="replace_what" value="\Q3\E"/>
<parameter key="replace_by" value="Sciences"/>
<description align="center" color="transparent" colored="false" width="126">Replace '3' by 'Sciences' in fieldcode</description>
</operator>
<operator activated="true" class="replace" compatibility="9.2.001" expanded="true" height="82" name="Replace (4)" origin="GENERATED_TURBOPREP" width="90" x="1135" y="34">
<parameter key="attribute_filter_type" value="regular_expression"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="regular_expression" value="\Qfieldcode\E"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="replace_what" value="\Q5\E"/>
<parameter key="replace_by" value="languages"/>
<description align="center" color="transparent" colored="false" width="126">Replace '5' by 'languages' in fieldcode</description>
</operator>
<operator activated="true" class="replace" compatibility="9.2.001" expanded="true" height="82" name="Replace (5)" origin="GENERATED_TURBOPREP" width="90" x="1269" y="34">
<parameter key="attribute_filter_type" value="regular_expression"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="regular_expression" value="\Qfieldcode\E"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="replace_what" value="\Q6\E"/>
<parameter key="replace_by" value="law"/>
<description align="center" color="transparent" colored="false" width="126">Replace '6' by 'law' in fieldcode</description>
</operator>
<operator activated="true" class="order_attributes" compatibility="9.2.001" expanded="true" height="82" name="Reorder Attributes" width="90" x="1595" y="34">
<parameter key="sort_mode" value="user specified"/>
<parameter key="attribute_ordering" value="fieldcode|lib_cat|cons_cat|grade_cat"/>
<parameter key="use_regular_expressions" value="false"/>
<parameter key="handle_unmatched" value="append"/>
<parameter key="sort_direction" value="ascending"/>
<description align="center" color="transparent" colored="false" width="126">Ensure order of columns matches the table view.</description>
</operator>
<connect from_port="in 1" to_op="Subprocess" to_port="in 1"/>
<connect from_op="Subprocess" from_port="out 1" to_op="Numerical to Polynominal" to_port="example set input"/>
<connect from_op="Numerical to Polynominal" from_port="example set output" to_op="Replace" to_port="example set input"/>
<connect from_op="Replace" from_port="example set output" to_op="Replace (2)" to_port="example set input"/>
<connect from_op="Replace (2)" from_port="example set output" to_op="Replace (3)" to_port="example set input"/>
<connect from_op="Replace (3)" from_port="example set output" to_op="Replace (4)" to_port="example set input"/>
<connect from_op="Replace (4)" from_port="example set output" to_op="Replace (5)" to_port="example set input"/>
<connect from_op="Replace (5)" from_port="example set output" to_op="Reorder Attributes" to_port="example set input"/>
<connect from_op="Reorder Attributes" from_port="example set output" to_port="out 1"/>
<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>
<description align="center" color="transparent" colored="false" width="126">TP Operations: Change to Nominal, Replace, Replace, Replace, Replace, Replace</description>
</operator>
<operator activated="true" class="subprocess" compatibility="9.2.001" expanded="true" height="82" name="Turbo Prep Process (2)" width="90" x="916" y="85">
<process expanded="true">
<operator activated="true" class="subprocess" compatibility="9.2.001" expanded="true" height="82" name="Subprocess (2)" width="90" x="45" y="34">
<process expanded="true">
<operator activated="true" class="nominal_to_text" compatibility="9.2.001" expanded="true" height="82" name="Nominal to Text (2)" width="90" x="45" y="34">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<description align="center" color="transparent" colored="false" width="126">Change all categorical columns to text</description>
</operator>
<operator activated="true" class="text_to_nominal" compatibility="9.2.001" expanded="true" height="82" name="Text to Nominal (2)" width="90" x="179" y="34">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="text"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="text"/>
<parameter key="block_type" value="value_matrix"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="value_matrix_row_start"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<description align="center" color="transparent" colored="false" width="126">Change all text columns to nominal</description>
</operator>
<operator activated="true" class="numerical_to_real" compatibility="9.2.001" expanded="true" height="82" name="Numerical to Real (2)" width="90" x="313" y="34">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="numeric"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="real"/>
<parameter key="block_type" value="value_series"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="value_series_end"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<description align="center" color="transparent" colored="false" width="126">Change all numerical columns to real</description>
</operator>
<connect from_port="in 1" to_op="Nominal to Text (2)" to_port="example set input"/>
<connect from_op="Nominal to Text (2)" from_port="example set output" to_op="Text to Nominal (2)" to_port="example set input"/>
<connect from_op="Text to Nominal (2)" from_port="example set output" to_op="Numerical to Real (2)" to_port="example set input"/>
<connect from_op="Numerical to Real (2)" from_port="example set output" to_port="out 1"/>
<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>
<description align="center" color="transparent" colored="false" width="126">Unify column types</description>
</operator>
<operator activated="true" class="replace" compatibility="9.2.001" expanded="true" height="82" name="Replace (6)" origin="GENERATED_TURBOPREP" width="90" x="179" y="34">
<parameter key="attribute_filter_type" value="regular_expression"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="regular_expression" value="\Qfieldcode\E"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="replace_what" value="\Q4\E"/>
<parameter key="replace_by" value="Economic& Management"/>
<description align="center" color="transparent" colored="false" width="126">Replace '4' by 'Economic& Management' in fieldcode</description>
</operator>
<operator activated="true" class="order_attributes" compatibility="9.2.001" expanded="true" height="82" name="Reorder Attributes (2)" width="90" x="313" y="34">
<parameter key="sort_mode" value="user specified"/>
<parameter key="attribute_ordering" value="fieldcode|lib_cat|cons_cat|grade_cat"/>
<parameter key="use_regular_expressions" value="false"/>
<parameter key="handle_unmatched" value="append"/>
<parameter key="sort_direction" value="ascending"/>
<description align="center" color="transparent" colored="false" width="126">Ensure order of columns matches the table view.</description>
</operator>
<connect from_port="in 1" to_op="Subprocess (2)" to_port="in 1"/>
<connect from_op="Subprocess (2)" from_port="out 1" to_op="Replace (6)" to_port="example set input"/>
<connect from_op="Replace (6)" from_port="example set output" to_op="Reorder Attributes (2)" to_port="example set input"/>
<connect from_op="Reorder Attributes (2)" from_port="example set output" to_port="out 1"/>
<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>
<description align="center" color="transparent" colored="false" width="126">TP Operations: Replace</description>
</operator>
<operator activated="true" class="nominal_to_binominal" compatibility="9.2.001" expanded="true" height="103" name="Nominal to Binominal" width="90" x="1050" y="85">
<parameter key="return_preprocessing_model" value="false"/>
<parameter key="create_view" value="false"/>
<parameter key="attribute_filter_type" value="all"/>
<parameter key="attribute" value=""/>
<parameter key="attributes" value=""/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="nominal"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="file_path"/>
<parameter key="block_type" value="single_value"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="single_value"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="transform_binominal" value="false"/>
<parameter key="use_underscore_in_name" value="false"/>
</operator>
<operator activated="true" class="concurrency:fp_growth" compatibility="9.2.001" expanded="true" height="82" name="FP-Growth" width="90" x="1251" y="85">
<parameter key="input_format" value="items in dummy coded columns"/>
<parameter key="item_separators" value="|"/>
<parameter key="use_quotes" value="false"/>
<parameter key="quotes_character" value="""/>
<parameter key="escape_character" value="\"/>
<parameter key="trim_item_names" value="true"/>
<parameter key="min_requirement" value="support"/>
<parameter key="min_support" value="0.9"/>
<parameter key="min_frequency" value="100"/>
<parameter key="min_items_per_itemset" value="1"/>
<parameter key="max_items_per_itemset" value="0"/>
<parameter key="max_number_of_itemsets" value="1000000"/>
<parameter key="find_min_number_of_itemsets" value="true"/>
<parameter key="min_number_of_itemsets" value="100"/>
<parameter key="max_number_of_retries" value="15"/>
<parameter key="requirement_decrease_factor" value="0.9"/>
<enumeration key="must_contain_list"/>
</operator>
<operator activated="true" class="create_association_rules" compatibility="9.2.001" expanded="true" height="82" name="Create Association Rules" width="90" x="1385" y="136">
<parameter key="criterion" value="confidence"/>
<parameter key="min_confidence" value="0.6"/>
<parameter key="min_criterion_value" value="0.8"/>
<parameter key="gain_theta" value="2.0"/>
<parameter key="laplace_k" value="1.0"/>
</operator>
<connect from_op="Retrieve 2016-2017&2-17-2018MERGE22" from_port="output" to_op="Generate Attributes" to_port="example set input"/>
<connect from_op="Generate Attributes" from_port="example set output" to_op="Select Attributes" to_port="example set input"/>
<connect from_op="Select Attributes" from_port="example set output" to_op="Filter Examples" to_port="example set input"/>
<connect from_op="Filter Examples" from_port="example set output" to_op="Turbo Prep Process" to_port="in 1"/>
<connect from_op="Turbo Prep Process" from_port="out 1" to_op="Turbo Prep Process (2)" to_port="in 1"/>
<connect from_op="Turbo Prep Process (2)" from_port="out 1" to_op="Nominal to Binominal" to_port="example set input"/>
<connect from_op="Nominal 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 2"/>
<connect from_op="Create Association Rules" from_port="item sets" 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>
Tagged:
1
Answers
-
@halaalrobassy
Hello
Please pay attention to the link also I think your process is not correct. please try to make your process like the one that you see in the link then show the result in order to compare both processes.
https://docs.rapidminer.com/latest/studio/operators/modeling/associations/create_association_rules.html
Regards
mbs1 -
Also this is an example from studio
1 -
what do you mean by set role process, actually ,my data is preprocessed so, the there many processes before using fp-growth algorithm, but if set role process will make difference , i will use it .so please tell me why you have use it before fp-growth algorithm1
-
Hello @halaalrobassy,
Set role Operator is used to change the role of one or more Attributes.( for more information you can use this link)
https://docs.rapidminer.com/latest/studio/operators/blending/attributes/names_and_roles/set_role.html
Also the screen shot is for a sample that we have in studio.
According to the definition of set role and the example that you see is used to define the role of an attribute which you can see in screen shot
Also this is Tutorial for set role operator in studio
I hope this helps
mbs
1