ParDictMap#
- class polpo.preprocessing.dict.ParDictMap(step, n_jobs=-1, verbose=0)[source]#
Bases:
StepWrappingPreprocessingStep
Apply a given step to each element of a dict in parallel.
- Parameters:
step (callable) – Preprocessing step to apply to value.
n_jobs (int) – The maximum number of concurrently running jobs.
verbose (int) – The verbosity level: if non zero, progress messages are printed. Above 50, the output is sent to stdout. The frequency of the messages increases with the verbosity level. If it more than 10, all iterations are reported.
Notes
has less functionality than DictMap