Feature Selection ToolboxFST3 Library / Documentation

FST::Sequential_Step_Hybrid< RETURNTYPE, DIMTYPE, SUBSET, CRITERION, FILTERCRITERION > Class Template Reference

Implements hybrid selection step in sequential search type of methods. More...

#include <seq_step_hybrid.hpp>

Inheritance diagram for FST::Sequential_Step_Hybrid< RETURNTYPE, DIMTYPE, SUBSET, CRITERION, FILTERCRITERION >:
Collaboration diagram for FST::Sequential_Step_Hybrid< RETURNTYPE, DIMTYPE, SUBSET, CRITERION, FILTERCRITERION >:

List of all members.

Classes

class  SubsetCandidate
 Nested class to hold [Subset,criterion value] pair in the course of hybrid feature candidate evaluation in Sequential_Step_Hybrid. More...

Public Types

typedef Sequential_Step
< RETURNTYPE, DIMTYPE, SUBSET,
CRITERION > 
parent
typedef boost::shared_ptr
< FILTERCRITERION > 
PFilterCriterion
typedef boost::shared_ptr
< CRITERION > 
PCriterion
typedef boost::shared_ptr< SUBSET > PSubset

Public Member Functions

 Sequential_Step_Hybrid (const PFilterCriterion filtercrit, const DIMTYPE keep_perc, const DIMTYPE keep_max=1000)
void set_prefiltering_limits (const DIMTYPE keep_perc, const DIMTYPE keep_max)
DIMTYPE get_prefiltering_perc () const
DIMTYPE get_prefiltering_max () const
bool evaluate_candidates (RETURNTYPE &result, const PSubset sub, const PCriterion crit, const DIMTYPE _generalization_level=1, std::ostream &os=std::cout)
 chooses among subsets offered by sub->get*CandidateSubset()
virtual std::ostream & print (std::ostream &os) const

Protected Types

typedef std::list
< SubsetCandidate
CANDIDATELIST

Protected Member Functions

bool filter_candidates (const PSubset sub, const DIMTYPE _generalization_level, std::ostream &os)
bool test_candidate (const PSubset sub)

Protected Attributes

PFilterCriterion _filtercrit
DIMTYPE _keep_perc
 filter out (100-_keep_perc) % of candidate subsets
DIMTYPE _keep_max
 when filtering keep maximally _keep_max candidate subsets (restriction on CANDIDATELIST size)
DIMTYPE _listsize
CANDIDATELIST _filterlist
CANDIDATELIST::iterator iter

Private Attributes

boost::scoped_ptr< SUBSET > tmp_step_sub
bool track

Detailed Description

template<class RETURNTYPE, typename DIMTYPE, class SUBSET, class CRITERION, class FILTERCRITERION>
class FST::Sequential_Step_Hybrid< RETURNTYPE, DIMTYPE, SUBSET, CRITERION, FILTERCRITERION >

Implements hybrid selection step in sequential search type of methods.

Examples:

demo53.cpp.


The documentation for this class was generated from the following file:

Generated on Thu Mar 31 11:39:03 2011 for FST3Library by  doxygen 1.6.1