public class DefaultLearningEnvironmentBuilder extends Object implements LearningEnvironmentBuilder
LearningEnvironment
.Modifier and Type | Method and Description |
---|---|
LearningEnvironment |
buildForWorker(int part)
Builds
LearningEnvironment for worker on given partition. |
LearningEnvironmentBuilder |
withDataTtl(long dataTtl)
Specify partition data time-to-live in seconds (-1 for an infinite lifetime).
|
DefaultLearningEnvironmentBuilder |
withLoggingFactoryDependency(IgniteFunction<Integer,MLLogger.Factory> loggingFactory)
Specify dependency (partition -> logging factory).
|
DefaultLearningEnvironmentBuilder |
withParallelismStrategyDependency(IgniteFunction<Integer,ParallelismStrategy> stgy)
Specifies dependency (partition -> Parallelism Strategy for LearningEnvironment).
|
DefaultLearningEnvironmentBuilder |
withParallelismStrategyTypeDependency(IgniteFunction<Integer,ParallelismStrategy.Type> stgyType)
Specifies dependency (partition -> Parallelism Strategy Type for LearningEnvironment).
|
LearningEnvironmentBuilder |
withRandomDependency(IgniteFunction<Integer,Random> rngSupplier)
Specify dependency (partition -> random numbers generator).
|
LearningEnvironmentBuilder |
withRNGSeedDependency(IgniteFunction<Integer,Long> seed)
Specify dependency (partition -> seed for random number generator).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildForTrainer, defaultBuilder, withLoggingFactory, withParallelismStrategy, withParallelismStrategyType, withRandom, withRNGSeed
public LearningEnvironmentBuilder withRNGSeedDependency(IgniteFunction<Integer,Long> seed)
withRNGSeedDependency
in interface LearningEnvironmentBuilder
seed
- Function describing dependency (partition -> seed for random number generator).public LearningEnvironmentBuilder withRandomDependency(IgniteFunction<Integer,Random> rngSupplier)
withRandomDependency
in interface LearningEnvironmentBuilder
rngSupplier
- Function describing dependency (partition -> random numbers generator).public LearningEnvironmentBuilder withDataTtl(long dataTtl)
withDataTtl
in interface LearningEnvironmentBuilder
dataTtl
- Partition data time-to-live in seconds (-1 for an infinite lifetime).public DefaultLearningEnvironmentBuilder withParallelismStrategyDependency(IgniteFunction<Integer,ParallelismStrategy> stgy)
withParallelismStrategyDependency
in interface LearningEnvironmentBuilder
stgy
- Function describing dependency (partition -> Parallelism Strategy).public DefaultLearningEnvironmentBuilder withParallelismStrategyTypeDependency(IgniteFunction<Integer,ParallelismStrategy.Type> stgyType)
withParallelismStrategyTypeDependency
in interface LearningEnvironmentBuilder
stgyType
- Function describing dependency (partition -> Parallelism Strategy Type).public DefaultLearningEnvironmentBuilder withLoggingFactoryDependency(IgniteFunction<Integer,MLLogger.Factory> loggingFactory)
withLoggingFactoryDependency
in interface LearningEnvironmentBuilder
loggingFactory
- Function describing (partition -> logging factory).public LearningEnvironment buildForWorker(int part)
LearningEnvironment
for worker on given partition.buildForWorker
in interface LearningEnvironmentBuilder
part
- Partition.LearningEnvironment
for worker on given partition.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024