hpandeycodeit commented on a change in pull request #373: Changed default 
max_item_size to 10
URL: https://github.com/apache/madlib/pull/373#discussion_r278326650
 
 

 ##########
 File path: src/ports/postgres/modules/assoc_rules/assoc_rules.py_in
 ##########
 @@ -63,9 +63,8 @@ def assoc_rules(madlib_schema, support, confidence, tid_col,
     begin_func_exec = time.time();
     begin_step_exec = time.time();
     cal_itemsets_time = 0;
-    if max_itemset_size is None:
-        max_itemset_size = float('inf')
-    elif max_itemset_size <= 1:
 
 Review comment:
   Sounds right to me. I have updated the code accordingly. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to