tensortrade.agents.parallel.parallel_dqn_optimizer module¶
-
class
tensortrade.agents.parallel.parallel_dqn_optimizer.
ParallelDQNOptimizer
(model: ParallelDQNModel, n_envs: int, memory_queue: multiprocessing.context.BaseContext.Queue, model_update_queue: multiprocessing.context.BaseContext.Queue, done_queue: multiprocessing.context.BaseContext.Queue, discount_factor: float = 0.9999, batch_size: int = 128, learning_rate: float = 0.001, memory_capacity: int = 10000)[source]¶ Bases:
multiprocessing.context.Process