net.sf.myra.datamining.model
Class RuleList

java.lang.Object
  extended by net.sf.myra.datamining.model.AbstractRuleModel
      extended by net.sf.myra.datamining.model.RuleList
All Implemented Interfaces:
java.io.Serializable, Model

public class RuleList
extends AbstractRuleModel

This class represents a rule list model.

Version:
$Revision$ $Date:: $
Author:
Fernando Esteban Barril Otero
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.myra.datamining.model.AbstractRuleModel
AbstractRuleModel.DefaultGatherer
 
Constructor Summary
RuleList()
           
 
Method Summary
 Label classify(Instance instance)
          Classifies the secified instance.
 java.util.List<Rule> getRules()
           
 
Methods inherited from class net.sf.myra.datamining.model.AbstractRuleModel
add, getDefault, getGatherer, getMajority, hasDefault, remove, setMajority, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleList

public RuleList()
Method Detail

getRules

public java.util.List<Rule> getRules()
Overrides:
getRules in class AbstractRuleModel

classify

public Label classify(Instance instance)
Description copied from interface: Model
Classifies the secified instance.

Parameters:
instance - the instance to be classified.
Returns:
the class predicted by this model.


Copyright © 2013. All Rights Reserved.