File feature_info.hpp¶
-
class IFeatureInfo¶
- #include <feature_info.hpp>
Defines an interface for all classes that provide information about the types of individual features.
Subclassed by IEqualFeatureInfo, IMixedFeatureInfo
Public Functions
-
inline virtual ~IFeatureInfo()¶
-
virtual std::unique_ptr<IFeatureType> createFeatureType(uint32 featureIndex, const IFeatureBinningFactory &featureBinningFactory) const = 0¶
Creates and returns a new object of type
IFeatureType
that corresponds to the type of the feature at a specific index.- Parameters:
featureIndex – The index of the feature
featureBinningFactory – A reference to an object of type
IFeatureBinningFactory
that allows to create implementations of the binning method to be used for assigning numerical feature values to bins
- Returns:
An unique pointer to an object of the type
IFeatureType
that has been created
-
inline virtual ~IFeatureInfo()¶