public class CostSensitiveSubsetEval extends CostSensitiveASEvaluation implements java.io.Serializable, SubsetEvaluator, OptionHandler
-C <cost file name> File name of a cost matrix to use. If this is not supplied, a cost matrix will be loaded on demand. The name of the on-demand file is the relation name of the training data plus ".cost", and the path to the on-demand file is specified with the -N option.
-N <directory> Name of a directory to search for cost files when loading costs on demand (default current directory).
-cost-matrix <matrix> The cost matrix in Matlab single line format.
-S <integer> The seed to use for random number generation.
-W Full name of base evaluator. (default: weka.attributeSelection.CfsSubsetEval)
Options specific to evaluator weka.attributeSelection.CfsSubsetEval:
-M Treat missing values as a seperate value.
-L Don't include locally predictive attributes.
MATRIX_ON_DEMAND, MATRIX_SUPPLIED, TAGS_MATRIX_SOURCE| Constructor and Description | 
|---|
| CostSensitiveSubsetEval()Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | evaluateSubset(java.util.BitSet subset)Evaluates a subset of attributes. | 
| java.lang.String | getRevision()Returns the revision string. | 
| static void | main(java.lang.String[] args)Main method for testing this class. | 
| void | setEvaluator(ASEvaluation newEvaluator)Set the base evaluator. | 
buildEvaluator, costMatrixSourceTipText, costMatrixTipText, defaultEvaluatorString, evaluatorTipText, getCapabilities, getCostMatrix, getCostMatrixSource, getEvaluator, getOnDemandDirectory, getOptions, getSeed, globalInfo, listOptions, onDemandDirectoryTipText, postProcess, seedTipText, setCostMatrix, setCostMatrixSource, setOnDemandDirectory, setOptions, setSeed, toStringclean, forName, makeCopiesequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOptions, listOptions, setOptionspublic void setEvaluator(ASEvaluation newEvaluator) throws java.lang.IllegalArgumentException
setEvaluator in class CostSensitiveASEvaluationnewEvaluator - the evaluator to use.java.lang.IllegalArgumentException - if the evaluator is not an instance of SubsetEvaluatorpublic double evaluateSubset(java.util.BitSet subset)
                      throws java.lang.Exception
evaluateSubset in interface SubsetEvaluatorsubset - a bitset representing the attribute subset to be 
 evaluatedjava.lang.Exception - if the subset could not be evaluatedpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class CostSensitiveASEvaluationpublic static void main(java.lang.String[] args)
args - the options