|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.Classifier
weka.classifiers.rules.Prism
Class for building and using a PRISM classifier. For more information, see
J. Cendrowska (1987). PRISM: An algorithm for inducing modular rules. International Journal of Man-Machine Studies. Vol.27, No.4, pp.349-370.
Constructor Summary | |
Prism()
|
Method Summary | |
void |
buildClassifier(Instances data)
Generates the classifier. |
double |
classifyInstance(Instance inst)
Classifies a given instance. |
static void |
main(java.lang.String[] args)
Main method for testing this class |
java.lang.String |
toString()
Prints a description of the classifier. |
Methods inherited from class weka.classifiers.Classifier |
forName, makeCopies |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Prism()
Method Detail |
public double classifyInstance(Instance inst)
classifyInstance
in class Classifier
inst
- the instance to be classified
public void buildClassifier(Instances data) throws java.lang.Exception
buildClassifier
in class Classifier
data
- the data to be used
java.lang.Exception
- if the classifier can't built successfullypublic java.lang.String toString()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |