Options

Association Rules - attributes in results

olgakulesza2olgakulesza2 Member Posts: 15 Contributor I
edited December 2018 in Help

Dear all, 

I've already generated association rules. But I don't know why rules took into account just names of some attributes, not values. 

For example, I have one attributes named "original publication year" and I got not years from this column, just the name. The same I got with wort_text_reviews_count and average_rating. 

Could you please tell why this is happening? Or I have to interpret rules in different way?

I attached my XML code and screenshot of example rules I generated. 

<?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="retrieve" compatibility="8.1.003" expanded="true" height="68" name="Retrieve bookratingsTagsUserNEW" width="90" x="112" y="238">
<parameter key="repository_entry" value="//NewLocalRepositoryOlga/bookratingsTagsUserNEW"/>
</operator>
<operator activated="true" class="numerical_to_binominal" compatibility="6.0.003" expanded="true" height="82" name="Numerical to Binominal" width="90" x="246" y="442"/>
<operator activated="true" class="nominal_to_binominal" compatibility="8.1.003" expanded="true" height="103" name="Nominal to Binominal" width="90" x="380" y="442"/>
<operator activated="true" class="set_role" compatibility="8.1.003" expanded="true" height="82" name="Set Role" width="90" x="514" y="391">
<parameter key="attribute_name" value="goodreads_book_id"/>
<parameter key="target_role" value="id"/>
<list key="set_additional_roles">
<parameter key="rating" value="label"/>
</list>
</operator>
<operator activated="true" class="fp_growth" compatibility="8.1.003" expanded="true" height="82" name="FP-Growth" width="90" x="648" y="340">
<parameter key="find_min_number_of_itemsets" value="false"/>
<parameter key="positive_value" value="true"/>
<parameter key="min_support" value="0.1"/>
</operator>
<operator activated="true" class="create_association_rules" compatibility="8.1.003" expanded="true" height="82" name="Create Association Rules" width="90" x="782" y="289">
<parameter key="min_confidence" value="0.7"/>
</operator>
<connect from_op="Retrieve bookratingsTagsUserNEW" from_port="output" to_op="Numerical to Binominal" to_port="example set input"/>
<connect from_op="Numerical to Binominal" from_port="example set output" to_op="Nominal to Binominal" to_port="example set input"/>
<connect from_op="Nominal to Binominal" from_port="example set output" to_op="Set Role" to_port="example set input"/>
<connect from_op="Set Role" 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"/>
<connect from_op="Create Association Rules" from_port="item sets" to_port="result 2"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="147"/>
<portSpacing port="sink_result 2" spacing="0"/>
<portSpacing port="sink_result 3" spacing="42"/>
<description align="left" color="yellow" colored="false" height="70" resized="false" width="850" x="20" y="25">MARKET BASKET ANALYSIS&lt;br&gt;Model associations between products by determining sets of items frequently purchased together and building association rules to derive recommendations.</description>
</process>
</operator>
</process>

confRules.png

Sign In or Register to comment.