Miscellaneous# Imbalance-learn provides some fast-prototyping tools. FunctionSampler(*[, func, accept_sparse, ...]) Construct a sampler from calling an arbitrary callable.