Template Class FeaturePreprocessType
Defined in File feature_preprocess_type.h
Inheritance Relationships
Base Type
public sparsebase::utils::FunctionMatcherMixin< FeatureType, utils::Extractable >
(Template Class FunctionMatcherMixin)
Class Documentation
-
template<typename FeatureType>
class sparsebase::feature::FeaturePreprocessType : public sparsebase::utils::FunctionMatcherMixin<FeatureType, utils::Extractable> A class that does feature extraction.
An Extractable class that has a function matching capability. In other words, an Extractable to which implementation functions can be added and used.
- tparam FeatureType
the return type of feature extraction
Public Functions
-
virtual std::shared_ptr<utils::Parameters> get_params() override
Get a std::shared_ptr at the Parameters of this object.
- Returns
An std::shared_ptr at the same Parameters instance of this object (not a copy)
-
virtual std::shared_ptr<utils::Parameters> get_params(std::type_index) override
Get an std::shared_ptr at a Parameters of one of the Extractable classes fused into this class
Returns a std::shared_ptr at a Parameters object belonging to one of the Extractable classes fused into this class
- Parameters
feature_extractor – std::type_index identifying the Extractable within this class whose parameters are requested
- Returns
an std::shared_ptr at the Parameters corresponding feature_extractor
-
virtual std::type_index get_id() override
Returns the std::type_index of this class.
-
~FeaturePreprocessType()