Generic class for models that take the form of a list of rules.
Expand source code
'''Generic class for models that take the form of a list of rules. '''
Greedy rule list. Greedily splits on one feature at a time along a single path.
The oneR algorithm returns a rule list that splits on only one (usually continuous) feature It works by building a greedy rule list using only one …