Feature Selection Toolbox FST4
UTIA · Czech Academy of Sciences
Loading...
Searching...
No Matches
subset.hpp File Reference

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.

Detailed Description

Stores the info on currently selected features, enables generating permutations, etc.

======================================================================

Feature Selection Toolbox 4 source code

Author
Petr Somol (somol.nosp@m.@uti.nosp@m.a.cas.nosp@m..cz) with collaborators, see Contacts at https://fst.utia.cz
Version 4 was developed with Anthropic Claude models as coding assistants: Claude Fable 5 for the 2026 development (with minor contributions by Claude Opus 5), Claude Fable 5.1 for the pre-publication reviews of the full codebase, and Claude Opus 4.5 for the December 2025 audit of the FST3 codebase; design, decisions, review and acceptance are human work
Date
March 2011 (last updated July 2026)
Version
4.2.0
Note
FST4 was developed using MinGW-W64 g++ 15.2 and requires
  • a C++17 conforming compiler and standard library (no Boost, unlike FST3),
Note that LibSVM is required for SVM related tools only. Ready-to-run SVM examples: demos/demo12t.cfg, demo23.cfg, demo25t.cfg and demo32t.cfg (configurations of the fst4 command-line tool).
Copyright © 2000–present ÚTIA, Institute of Information Theory and Automation of the Czech Academy of Sciences · Contacts · This site sets no cookies and uses no analytics.