All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object
|
+----weka.classifiers.Classifier
|
+----weka.classifiers.functions.pace.PaceRegression
Under regularity conditions, pace regression is provably optimal when the number of coefficients tends to infinity. It consists of a group of estimators that are either overall optimal or optimal under certain conditions.
The current work of the pace regression theory, and therefore also this implementation, do not handle:
- missing values
- non-binary nominal attributes
- the case that n - k is small where n is number of instances and k is
number of coefficients (the threshold used in this implmentation is 20)
Valid options are:
-D
Produce debugging output.
-E estimator
The estimator can be one of the following:
REFERENCES
Wang, Y. (2000). "A new approach to fitting linear models in high dimensional spaces." PhD Thesis. Department of Computer Science, University of Waikato, New Zealand.
Wang, Y. and Witten, I. H. (2002). "Modeling for optimal probability prediction." Proceedings of ICML'2002. Sydney.
public static final Tag[] TAGS_ESTIMATOR
public PaceRegression()
public void buildClassifier(Instances data) throws java.lang.Exception
data - the training data to be used for generating the
linear regression function
public boolean checkForMissing(Instances data)
data - the data set
public boolean checkForMissing(Instance instance,
Instances model)
instance - the instance
public boolean checkForNonBinary(Instances data)
data - the data set
public double classifyInstance(Instance instance) throws java.lang.Exception
instance - the test instance
public java.lang.String toString()
public java.util.Enumeration listOptions()
public void setOptions(java.lang.String options[]) throws java.lang.Exception
options - the list of options as an array of strings
public double[] coefficients()
public java.lang.String[] getOptions()
public int numParameters()
public void setDebug(boolean debug)
debug - true if debugging output should be printed
public boolean getDebug()
debug - true if debugging output should be printed
public SelectedTag getEstimator()
public void setEstimator(SelectedTag estimator)
estimator - the new estimator
public void setThreshold(double newThreshold)
threshold - the threshold for the olsc estimator
public double getThreshold()
public static void main(java.lang.String argv[])
String - the options
All Packages Class Hierarchy This Package Previous Next Index WEKA's home