Stores the info on currently selected features, enables generating permutations, etc. More...
#include <memory>#include <cassert>#include <iostream>#include <cstdlib>#include "fst_rand.hpp"#include "error.hpp"#include "global.hpp"Go to the source code of this file.
Classes | |
| class | FST::Subset< BINTYPE, DIMTYPE > |
| Stores the info on currently selected features, enables generating permutations, etc. More... | |
| class | FST::Subset< BINTYPE, DIMTYPE >::Feature_Range |
| Read-only forward range over feature indices. More... | |
| class | FST::Subset< BINTYPE, DIMTYPE >::Feature_Range::iterator |
| Forward iterator over raw feature indices matching a Kind, skipping non-matching ones. More... | |
Namespaces | |
| namespace | FST |
| The Feature Selection Toolbox 4 library: every library component – data access, criteria and classifiers, search algorithms, result trackers and the global infrastructure – lives in this namespace. | |
Functions | |
| template<class BINTYPE, typename DIMTYPE> | |
| std::ostream & | FST::operator<< (std::ostream &os, const Subset< BINTYPE, DIMTYPE > &tdb) |
Streams a subset's size and selected feature indices to os, e.g. "Subset<n=20, d=3>: 2 5 11". The listed indices are those with a positive raw marker, so in backward mode they are the DEselected ones. In builds compiled with the DEBUG macro defined, the raw marker array is dumped before the index list (separated by " ~ "), which makes such output differ from a release build's. | |
Stores the info on currently selected features, enables generating permutations, etc.
======================================================================