|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.classifiers.Classifier | +--weka.classifiers.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(String[] args)
Main method for testing this class |
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 Exception
buildClassifier
in class Classifier
data
- the data to be used
Exception
- if the classifier can't built successfullypublic String toString()
toString
in class Object
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |