Typedef sparsebase::experiment::PreprocessFunction
Defined in File experiment_type.h
Typedef Documentation
-
using sparsebase::experiment::PreprocessFunction = std::function<void(std::unordered_map<std::string, format::Format*> &data, std::any &fparams, std::any ¶ms)>
Function template for preprocess. All preprocessing methods that are going to be applied on the data must follow this function definition.
- Param data
Contains the data needed for the preprocessing. This map is returned by the DataLoader
- Param fparams
Parameters specific to the target file.
- Param params
Preprocessing parameters.