You are here

function commerce_reports_patterns_help in Commerce Reporting 7.3

Same name and namespace in other branches
  1. 7.4 modules/patterns/commerce_reports_patterns.module \commerce_reports_patterns_help()

Implements hook_help().

File

modules/patterns/commerce_reports_patterns.module, line 6

Code

function commerce_reports_patterns_help($path, $arg) {
  switch ($path) {
    case 'admin/commerce/reports/patterns':
      return '<p>' . t('Association rules are if/then statements that help uncover relationships between seemingly unrelated data in a relational database or other information repository. An example of an association rule would be "If a customer buys a dozen eggs, he is 80% likely to also purchase milk."') . '</p><p>' . t("This module is experimental and should be used a such, it is merely a proof of concept showing the interestingness of association rule mining and their potential future use. The algorithm used by this module requires that the transaction database fits in memory; this means that it is not unlikely for the process to abort when it runs out of memory. If that's the case, try setting your parameters to a higher value.") . '</p>';
    case 'admin/commerce/reports/patterns/view':
      return '<p>' . t("Here you see the rules generated during the previous batch process. Shown below are the top ten rules for every size of frequent itemset. You should interpret these rules as follows: if a customer buys the items in the antecedent, there's a certain chance that they will also buy the items in the consequent.") . '</p>';
  }
}