CostSensitiveAttributeEval

Package

weka.attributeSelection

Synopsis

A meta subset evaluator that makes its base subset evaluator cost-sensitive.

Available in Weka 3.6.x - 3.7.1. Available via the package management system for Weka >= 3.7.2 (costSensitiveAttributeSelection).

Options

The table below describes the options available for CostSensitiveAttributeEval.

Option

Description

costMatrix

Sets the cost matrix explicitly. This matrix is used if the costMatrixSource property is set to "Supplied".

costMatrixSource

Sets where to get the cost matrix. The two options areto use the supplied explicit cost matrix (the setting of the costMatrix property), or to load a cost matrix from a file when required (this file will be loaded from the directory set by the onDemandDirectory property and will be named relation_name.cost).

evaluator

The base evaluator to be used.

onDemandDirectory

Sets the directory where cost files are loaded from. This option is used when the costMatrixSource is set to "On Demand".

seed

The random number seed to be used.

Capabilities

The table below describes the capabilites of CostSensitiveAttributeEval.

Capability

Supported

Class

Missing class values, Binary class, Nominal class

Attributes

Empty nominal attributes, Date attributes, Numeric attributes, Unary attributes, Missing values, Nominal attributes, Binary attributes

Min # of instances

1