|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.AbstractClassifier
weka.classifiers.SingleClassifierEnhancer
weka.classifiers.meta.SumTransformed
public class SumTransformed
Finds the base classifier with the best least median squared error.
| Field Summary | |
|---|---|
protected weka.core.Instances |
m_Header
the header information of the transformed data. |
| Fields inherited from class weka.classifiers.SingleClassifierEnhancer |
|---|
m_Classifier |
| Fields inherited from class weka.classifiers.AbstractClassifier |
|---|
m_Debug |
| Constructor Summary | |
|---|---|
SumTransformed()
|
|
| Method Summary | |
|---|---|
void |
buildClassifier(weka.core.Instances ins)
Builds the classifier. |
double |
classifyInstance(weka.core.Instance inst)
Returns the prediction. |
String |
getRevision()
|
String |
globalInfo()
Returns a string describing classifier. |
static void |
main(String[] argv)
Main method for running this class. |
String |
toString()
Returns description of classifier. |
protected weka.core.Instance |
transformInstance(weka.core.Instance in)
Just sums up all the peaks. |
| Methods inherited from class weka.classifiers.SingleClassifierEnhancer |
|---|
classifierTipText, defaultClassifierString, getCapabilities, getClassifier, getClassifierSpec, getOptions, listOptions, setClassifier, setOptions |
| Methods inherited from class weka.classifiers.AbstractClassifier |
|---|
debugTipText, distributionForInstance, forName, getDebug, makeCopies, makeCopy, runClassifier, setDebug |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected weka.core.Instances m_Header
| Constructor Detail |
|---|
public SumTransformed()
| Method Detail |
|---|
public String globalInfo()
protected weka.core.Instance transformInstance(weka.core.Instance in)
in - the instance to transform
public void buildClassifier(weka.core.Instances ins)
throws Exception
buildClassifier in interface weka.classifiers.Classifierins - the training data
Exception - if training fails
public double classifyInstance(weka.core.Instance inst)
throws Exception
classifyInstance in interface weka.classifiers.ClassifierclassifyInstance in class weka.classifiers.AbstractClassifierinst - the instance to predict
Exception - if prediction failspublic String toString()
toString in class Objectpublic String getRevision()
getRevision in interface weka.core.RevisionHandlergetRevision in class weka.classifiers.AbstractClassifierpublic static void main(String[] argv)
argv - the options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||