Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::SubSetSelector::GoodnessMeasure Class Reference

#include <FeatureSelector.h>

Inheritance diagram for prapi::SubSetSelector::GoodnessMeasure:

Object List of all members.

Detailed Description

An interface for methods for evaluating the goodness of a subset (of features).


Public Methods

virtual double measureGoodness (SubSetSelector &selector, const util::List< int > &enabledIndices)=0
 Measure the goodness of a subset (of features).


Member Function Documentation

virtual double prapi::SubSetSelector::GoodnessMeasure::measureGoodness SubSetSelector   selector,
const util::List< int > &    enabledIndices
[pure virtual]
 

Measure the goodness of a subset (of features).

Subclasses must override this method and find out a method of evaluating the goodness of the given subset. A typical way of evaluating the subset is to perform a classification experiment with the indicated items (features) enabled.

Parameters:
selector  a reference to the SubSetSelector instance that called this method. One may use this to stop the optimization.
enabledIndices  the indices of enabled items (features).
Returns:
the goodness of the enabled items. Larger is better, and negative values are not acceptable.


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.