public abstract class BaseRegression extends BaseModel implements AbstractRegressionModel
Implemented Commands:
robust <Q> - Define False Positive Rate used for robust regression. See Motulsky and Brown
AttributeSelector, trained, TrainingStats, validated, ValidationStats
Constructor and Description |
---|
BaseRegression() |
Modifier and Type | Method and Description |
---|---|
BaseRegression |
clone() |
boolean |
doRobustRegression()
Whether robust regression is desired.
|
double |
getRobustRegressionQ()
Get desired False Discovery Rate
|
void |
robustTraining(Dataset TrainData)
Robustly train a model.
|
java.lang.Object |
runCommand(java.util.List<java.lang.Object> Command)
Process some command described by a list of Objects.
|
void |
setRobustRegressionQ(double Q)
Set the desired False Discovery Rate for outlier detection.
|
about, crossValidate, crossValidate, crossValidate, done, externallyValidate, getAttributeSelector, getCitations, getFilter, getTrainTime, getValidationMethod, handleSetCommand, isTrained, isValidated, loadState, printCommand, printDescription, printModel_protected, printModel, printModelDescriptionDetails, resetModel, run_protected, run, saveCommand, saveState, setAttributeSelector, setComponent, setFilter, train_protected, train, train
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNFittingParameters
printUsage, setOptions
public BaseRegression clone()
public void robustTraining(Dataset TrainData)
AbstractRegressionModel
BaseModel.train(magpie.data.Dataset)
.
I recommend that you use methods outlined in a paper by Motulsky and Brown.
.robustTraining
in interface AbstractRegressionModel
TrainData
- Training datapublic void setRobustRegressionQ(double Q)
AbstractRegressionModel
See paper by Benjamini and Hochberg
setRobustRegressionQ
in interface AbstractRegressionModel
Q
- Desired FDRpublic double getRobustRegressionQ()
AbstractRegressionModel
getRobustRegressionQ
in interface AbstractRegressionModel
public boolean doRobustRegression()
AbstractRegressionModel
getRobustRegressionQ > 0
doRobustRegression
in interface AbstractRegressionModel
public java.lang.Object runCommand(java.util.List<java.lang.Object> Command) throws java.lang.Exception
Commandable
runCommand
in interface Commandable
runCommand
in class BaseModel
Command
- Command as a list of objectsjava.lang.Exception
- If something goes wrong