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

Shared dense-training helpers: standardized-design build and Cholesky factor/solve. More...

#include <cmath>
#include <cstddef>
#include <memory>
#include <vector>
#include "data_accessor.hpp"

Go to the source code of this file.

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<typename REALTYPE, typename IDXTYPE, typename DIMTYPE, class DATAACCESSOR, class AFTERPATTERN>
std::size_t FST::standardize_design (const std::shared_ptr< DATAACCESSOR > &da, const DIMTYPE classes, const std::size_t d, const std::size_t zstride, const std::vector< DIMTYPE > &index, std::vector< REALTYPE > &Z, std::vector< REALTYPE > &mean, std::vector< REALTYPE > &scale, AFTERPATTERN after_pattern)
template<typename REALTYPE>
bool FST::cholesky_factor (std::vector< REALTYPE > &A, const std::size_t m)
template<typename REALTYPE>
void FST::cholesky_solve (const std::vector< REALTYPE > &A, const std::size_t m, const REALTYPE *rhs, const bool negate_rhs, REALTYPE *out)

Detailed Description

Shared dense-training helpers: standardized-design build and Cholesky factor/solve.

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

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