|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.trees.j48.ModelSelection
weka.classifiers.trees.lmt.ResidualModelSelection
public class ResidualModelSelection
Helper class for logistic model trees (weka.classifiers.trees.lmt.LMT) to implement the splitting criterion based on residuals.
| Constructor Summary | |
|---|---|
ResidualModelSelection(int minNumInstances)
Constructor to create ResidualModelSelection object. |
|
| Method Summary | |
|---|---|
void |
cleanup()
Method not in use |
java.lang.String |
getRevision()
Returns the revision string. |
ClassifierSplitModel |
selectModel(Instances train)
Method not in use |
ClassifierSplitModel |
selectModel(Instances data,
double[][] dataZs,
double[][] dataWs)
Selects split based on residuals for the given dataset. |
ClassifierSplitModel |
selectModel(Instances train,
Instances test)
Method not in use |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResidualModelSelection(int minNumInstances)
minNumInstances - minimum number of instances for leaves| Method Detail |
|---|
public void cleanup()
public final ClassifierSplitModel selectModel(Instances data,
double[][] dataZs,
double[][] dataWs)
throws java.lang.Exception
java.lang.Exceptionpublic final ClassifierSplitModel selectModel(Instances train)
selectModel in class ModelSelection
public final ClassifierSplitModel selectModel(Instances train,
Instances test)
selectModel in class ModelSelectionpublic java.lang.String getRevision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||