Changeset 7391:33214ff609c1 in orange


Ignore:
Timestamp:
02/04/11 10:03:35 (3 years ago)
Author:
Gregor Rot <gregor.rot@…>
Branch:
default
Convert:
d1e8c76031a5a60a835427d5cd58049f3696d9be
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/associate/__init__.py

    r7324 r7391  
    5252The text needs to be cleaned of punctuation marks and capital letters at beginnings of the sentences, each sentence needs to be put in a new line and commas need to be inserted between the words. 
    5353 
    54 **inquisition.basket** :: 
    55  
    56     nobody, expects, the, Spanish, Inquisition 
    57     our, chief, weapon, is, surprise, surprise, and, fear,fear, and, surprise 
    58     our, two, weapons, are, fear, and, surprise, and, ruthless, efficiency 
    59     our, three, weapons, are, fear, surprise, and, ruthless, efficiency, and, an, almost, fanatical, devotion, to, the, Pope 
    60     our, four, no 
    61     amongst, our, weapons 
    62     amongst, our, weaponry, are, such, elements, as, fear, surprise 
    63     I'll, come, in, again 
    64     nobody, expects, the, Spanish, Inquisition 
    65     amongst, our, weaponry, are, such, diverse, elements, as, fear, surprise, ruthless, efficiency, an, almost, fanatical, devotion, to, the, Pope, and, nice, red, uniforms, oh damn 
    66      
    67 Inducing the rules is trivial (uses inquisition.basket): :: 
     54.. _inquisition.basket: code/inquisition.basket 
     55.. _lenses.tab: code/lenses.tab 
     56 
     57**inquisition.basket** 
     58 
     59.. literalinclude:: code/inquisition.basket 
     60    
     61Inducing the rules is trivial (uses `inquisition.basket`_): :: 
    6862 
    6963    import Orange 
     
    139133    The maximal number of itemsets. 
    140134 
    141 Meaning of all attributes (except the new one, classificationRules) is the same as for AssociationRulesSparseInducer. See the description of :ref:`maxItemSets <maxItemSets>` there. The example uses `lenses data table <http://orange.biolab.si/doc/reference/lenses.tab>`_. :: 
     135Meaning of all attributes (except the new one, classificationRules) is the same as for AssociationRulesSparseInducer. See the description of :ref:`maxItemSets <maxItemSets>` there. The example uses `lenses.tab`_: :: 
    142136 
    143137    import Orange 
     
    249243    Given an association rule as the argument, constructor copies of the rule. 
    250244     
    251     .. method:: appliesLeft(example), appliesRight(example), appliesBoth(example) 
     245    .. method:: appliesLeft(example) 
     246     
     247    .. method:: appliesRight(example) 
     248     
     249    .. method:: appliesBoth(example) 
    252250     
    253251    Tells whether the example fits into the left, right or both sides of the rule, respectively. If the rule is represented by sparse examples, the given example must be sparse as well. 
Note: See TracChangeset for help on using the changeset viewer.