BatchFlow helps you conveniently work with random or sequential batches of your data and define data processing and machine learning workflows even for datasets that do not fit into memory.
As the inbatch_parallel now not supposed to be used on its own, we can refactor it with following goals in mind:
[ ] remove _use_self args
[ ] remove init/post functions: the container with init should be passed directly from Batch.apply_parallel, and the results should be post-processed in the Batch.apply_parallel as well
[ ] make inbatch_parallel a class: that would allow for easier introspection and parameter changes on the fly, for example, target to any other.
As the
inbatch_parallel
now not supposed to be used on its own, we can refactor it with following goals in mind:_use_self
argsinit
/post
functions: the container withinit
should be passed directly fromBatch.apply_parallel
, and the results should be post-processed in theBatch.apply_parallel
as wellinbatch_parallel
a class: that would allow for easier introspection and parameter changes on the fly, for example,target
to any other.