public class ModelBuilderHelper
extends java.lang.Object
Constructor and Description |
---|
ModelBuilderHelper() |
Modifier and Type | Method and Description |
---|---|
static <E extends ModelBuilder<?,?,?>> |
trainModelsParallel(E[] mbs,
int parallelization)
A helper method facilitating parallel training of a collection of models.
|
public static <E extends ModelBuilder<?,?,?>> E[] trainModelsParallel(E[] mbs, int parallelization)
E
- type of ModelBuildermbs
- an array of ModelBuilders ready to be trained (ideally with parameters already validated)parallelization
- level of parallelization - we will run up to #parallelization models concurrently