Typedef sparsebase::experiment::PreprocessFunction

Typedef Documentation

using sparsebase::experiment::PreprocessFunction = std::function<void(std::unordered_map<std::string, format::Format*> &data, std::any &fparams, std::any &params)>

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.