Package weka.classifiers.functions
Class PLSClassifierWeightedWithLoadings
- java.lang.Object
-
- weka.classifiers.AbstractClassifier
-
- weka.classifiers.functions.PLSClassifierWeighted
-
- weka.classifiers.functions.PLSClassifierWeightedWithLoadings
-
- All Implemented Interfaces:
Serializable,Cloneable,weka.classifiers.Classifier,weka.core.BatchPredictor,weka.core.CapabilitiesHandler,weka.core.CapabilitiesIgnorer,weka.core.CommandlineRunnable,weka.core.OptionHandler,PLSMatrixAccess,weka.core.RevisionHandler,weka.core.WeightedInstancesHandler
public class PLSClassifierWeightedWithLoadings extends PLSClassifierWeighted implements PLSMatrixAccess
A wrapper classifier for the PLSFilter, utilizing the PLSFilter's ability to perform predictions.
Allows access to the PLS matrices in case the filter is a PLSFilterWithLoadings instance.
Valid options are:
-filter <filter specification> The PLS filter to use. Full classname of filter to include, followed by scheme options. (default: weka.filters.supervised.attribute.PLSFilter)
-D If set, classifier is run in debug mode and may output additional info to the console
Options specific to filter weka.filters.supervised.attribute.PLSFilter ('-filter'):-D Turns on output of debugging information.
-C <num> The number of components to compute. (default: 20)
-U Updates the class attribute as well. (default: off)
-M Turns replacing of missing values on. (default: off)
-A <SIMPLS|PLS1> The algorithm to use. (default: PLS1)
-P <none|center|standardize> The type of preprocessing that is applied to the data. (default: center)
- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class weka.classifiers.functions.PLSClassifierWeighted
m_ActualFilter, m_Filter
-
-
Constructor Summary
Constructors Constructor Description PLSClassifierWeightedWithLoadings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description weka.filters.supervised.attribute.PLSFiltergetDefaultFilter()Returns the default PLS filter.weka.core.matrix.MatrixgetPLS1bHat()Returns the PLS1 b "hat" matrix.weka.core.matrix.MatrixgetPLS1P()Returns the PLS1 P matrix.weka.core.matrix.MatrixgetPLS1RegVector()Returns the reg vector.weka.core.matrix.MatrixgetPLS1W()Returns the PLS1 W matrix.StringgetRevision()Returns the revision string.weka.core.matrix.MatrixgetSimplsB()Returns the SIMPLS B matrix.weka.core.matrix.MatrixgetSimplsW()Returns the SIMPLS W matrix.StringglobalInfo()Returns a string describing classifierstatic voidmain(String[] args)Main method for running this classifier from commandline.-
Methods inherited from class weka.classifiers.functions.PLSClassifierWeighted
buildClassifier, classifyInstance, filterTipText, getCapabilities, getFilter, getOptions, listOptions, setFilter, setOptions, toString
-
Methods inherited from class weka.classifiers.AbstractClassifier
batchSizeTipText, debugTipText, distributionForInstance, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing classifier- Overrides:
globalInfoin classPLSClassifierWeighted- Returns:
- a description suitable for displaying in the explorer/experimenter gui
-
getDefaultFilter
public weka.filters.supervised.attribute.PLSFilter getDefaultFilter()
Returns the default PLS filter.- Overrides:
getDefaultFilterin classPLSClassifierWeighted- Returns:
- the default filter
-
getPLS1RegVector
public weka.core.matrix.Matrix getPLS1RegVector()
Returns the reg vector.- Specified by:
getPLS1RegVectorin interfacePLSMatrixAccess- Returns:
- the vector
-
getPLS1P
public weka.core.matrix.Matrix getPLS1P()
Returns the PLS1 P matrix.- Specified by:
getPLS1Pin interfacePLSMatrixAccess- Returns:
- the matrix
-
getPLS1W
public weka.core.matrix.Matrix getPLS1W()
Returns the PLS1 W matrix.- Specified by:
getPLS1Win interfacePLSMatrixAccess- Returns:
- the matrix
-
getPLS1bHat
public weka.core.matrix.Matrix getPLS1bHat()
Returns the PLS1 b "hat" matrix.- Specified by:
getPLS1bHatin interfacePLSMatrixAccess- Returns:
- the matrix
-
getSimplsW
public weka.core.matrix.Matrix getSimplsW()
Returns the SIMPLS W matrix.- Specified by:
getSimplsWin interfacePLSMatrixAccess- Returns:
- the matrix
-
getSimplsB
public weka.core.matrix.Matrix getSimplsB()
Returns the SIMPLS B matrix.- Specified by:
getSimplsBin interfacePLSMatrixAccess- Returns:
- the matrix
-
getRevision
public String getRevision()
Returns the revision string.- Specified by:
getRevisionin interfaceweka.core.RevisionHandler- Overrides:
getRevisionin classPLSClassifierWeighted- Returns:
- the revision
-
main
public static void main(String[] args)
Main method for running this classifier from commandline.- Parameters:
args- the options
-
-