public interface LearningEnvironment
Modifier and Type | Field and Description |
---|---|
static LearningEnvironment |
DEFAULT_TRAINER_ENV
Default environment
|
Modifier and Type | Method and Description |
---|---|
long |
dataTtl()
Returns partition data time-to-live in seconds (-1 for an infinite lifetime).
|
DeployingContext |
deployingContext()
Returns deploy context instance.
|
default void |
initDeployingContext(Object clientSideObj)
Initializes deploying context by object representing current client computation
with classes unknown for server side.
|
MLLogger |
logger()
Returns an instance of logger.
|
<T> MLLogger |
logger(Class<T> forCls)
Returns an instance of logger for specific class.
|
ParallelismStrategy |
parallelismStrategy()
Returns Parallelism Strategy instance.
|
int |
partition()
Gets current partition.
|
Random |
randomNumbersGenerator()
Random numbers generator.
|
static final LearningEnvironment DEFAULT_TRAINER_ENV
ParallelismStrategy parallelismStrategy()
MLLogger logger()
Random randomNumbersGenerator()
<T> MLLogger logger(Class<T> forCls)
forCls
- Logging class context.int partition()
Dataset
, will return -1.long dataTtl()
DeployingContext deployingContext()
default void initDeployingContext(Object clientSideObj)
clientSideObj
- Client side object.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024