AScontrol-classes           package:arules           R Documentation

_C_l_a_s_s_e_s "_A_S_c_o_n_t_r_o_l", "_A_P_c_o_n_t_r_o_l", "_E_C_c_o_n_t_r_o_l" -
_S_p_e_c_i_f_y_i_n_g _t_h_e '_c_o_n_t_r_o_l' _A_r_g_u_m_e_n_t _o_f _a_p_r_i_o_r_i() _a_n_d _e_c_l_a_t()

_D_e_s_c_r_i_p_t_i_o_n:

     The 'AScontrol' class holds the algorithmic parameters for the
     used mining algorithms.  'APcontrol' and 'ECcontrol' directly
     extend 'AScontrol' with additional slots for parameters only
     suitable for the algorithms Apriori ('APcontrol') and Eclat
     ('ECcontrol').

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     A suitable default control object will be automatically created by
     the 'apriori' or the 'eclat' function. By specifying a named list
     (names equal to slots) as 'control' argument for the 'apriori' or
     the 'eclat' function, default values can be replaced by the values
     in the list. Objects can also be created by calls of the form
     'new("APcontrol", ...)' or 'new("ECcontrol", ...)'.

_S_l_o_t_s:

     Common slots defined in 'AScontrol':

     '_s_o_r_t': an integer scalar indicating how to  sort items with
          respect to their frequency: (default: 1)

           _1: ascending

          -_1: descending

           _0: do not sort

           _2: ascending

          -_2: descending with respect to transaction size sum


     '_v_e_r_b_o_s_e': a logical indicating whether to report progress

     Additional slots for Apriori in 'APcontrol':

     '_f_i_l_t_e_r': a numeric scalar indicating how to filter unused items
          from transactions (default: 0.1)

          =_0: do not filter items with respect to. usage in sets

          <_0: fraction of removed items for filtering

          >_0: take execution times ratio into account


     '_t_r_e_e': a logical indicating whether to organize transactions as a
          prefix tree (default: 'TRUE')

     '_h_e_a_p': a logical indicating whether to use heapsort instead of
          quicksort to sort the transactions (default: 'TRUE')

     '_m_e_m_o_p_t': a logical indicating whether to  minimize memory usage
          instead of maximize speed (default: 'FALSE')

     '_l_o_a_d': a logical indicating whether to load transactions into
          memory (default: 'TRUE')

     Additional slots for Eclat in 'ECcontrol':

     '_s_p_a_r_s_e': a numeric value for the threshold for sparse
          representation (default: 7)

_M_e_t_h_o_d_s:

     _c_o_e_r_c_e 'signature(from = "NULL", to = "APcontrol")'

     _c_o_e_r_c_e 'signature(from = "list", to = "APcontrol")'

     _c_o_e_r_c_e 'signature(from = "NULL", to = "ECcontrol")'

     _c_o_e_r_c_e 'signature(from = "list", to = "ECcontrol")'

_R_e_f_e_r_e_n_c_e_s:

     Christian Borgelt (2004) _Apriori - Finding Association
     Rules/Hyperedges with the Apriori Algorithm_. <URL:
     http://fuzzy.cs.uni-magdeburg.de/~borgelt/apriori.html>

_S_e_e _A_l_s_o:

     'apriori', 'eclat'

