net.sf.myra.datamining.model
Class ProbabilisticRuleModel

java.lang.Object
  extended by net.sf.myra.datamining.model.AbstractRuleModel
      extended by net.sf.myra.datamining.model.ProbabilisticRuleModel
All Implemented Interfaces:
java.io.Serializable, Model, ProbabilisticModel
Direct Known Subclasses:
ProbabilisticRuleList, ProbabilisticRuleSet

public abstract class ProbabilisticRuleModel
extends AbstractRuleModel
implements ProbabilisticModel

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
ProbabilisticRuleModel(java.util.Collection<Rule> rules)
          Default constructor.
 
Method Summary
 Label classify(Instance instance)
          Classifies the secified instance.
 
Methods inherited from class net.sf.myra.datamining.model.AbstractRuleModel
add, getDefault, getGatherer, getMajority, getRules, hasDefault, remove, setMajority, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.myra.datamining.model.ProbabilisticModel
probabilities
 
Methods inherited from interface net.sf.myra.datamining.Model
getGatherer
 

Constructor Detail

ProbabilisticRuleModel

public ProbabilisticRuleModel(java.util.Collection<Rule> rules)
Default constructor.

Parameters:
rules - the collection of discovered rules.
Method Detail

classify

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

Specified by:
classify in interface Model
Parameters:
instance - the instance to be classified.
Returns:
the class predicted by this model.


Copyright © 2013. All Rights Reserved.