Hitachi Vantara Pentaho Community Wiki
Child pages
  • CostSensitiveSubsetEval

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

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 CostSensitiveSubsetEval.

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 CostSensitiveSubsetEval.

Capability

Supported

Class

Missing class values, Binary class, Nominal class

Attributes

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

Min # of instances

1