WekaSelectAttributes
Synopsis
Searches for discrimminating attributes with Weka.
Description
WekaSelectAttributes applies Weka’s attribute selection on a training set specified by examples and writes the result in evaluationFile .
Snippet
<wekaselectattributes class="WekaSelectAttributes">
<evaluationFile></evaluationFile>
<evaluator></evaluator>
<examples></examples>
<relationDefinition></relationDefinition>
</wekaselectattributes>
Mandatory parameters
evaluationFile
Mandatory
Type: TargetStream
File where to write evaluation results.
evaluator
Mandatory
Type: String
Evaluation metrics, this should be the canonical name of a class that extends Weka’s ASEvaluation .
examples
Mandatory
Type: Expression
Training set examples. This expression is evaluated as a list of elements with the corpus as the context element.
relationDefinition
Mandatory
Type: RelationDefinition
Specification of example attributes and class.
Optional parameters
evaluatorOptions
Optional
Type: String[]
Options to the evaluator.
search
Optional
Type: String
Search heuristic, this should be the canonical name of a class that extends Weka’s ASSearch .
searchOptions
Optional
Type: String[]
Options to the search heuristic.