csle_agents.agents.ppg_clean package
Submodules
csle_agents.agents.ppg_clean.ppg_clean_agent module
MIT License
Copyright (c) 2019 CleanRL developers https://github.com/vwxyzjn/cleanrl
- class csle_agents.agents.ppg_clean.ppg_clean_agent.PPGCleanAgent(simulation_env_config: SimulationEnvConfig, emulation_env_config: Union[None, EmulationEnvConfig], experiment_config: ExperimentConfig, training_job: Optional[TrainingJobConfig] = None, save_to_metastore: bool = True)[source]
Bases:
BaseAgent
A Phasic Policy Gradient agent using the implementation from CleanRL
- make_env() Callable[[], RecordEpisodeStatistics[Any, Any]] [source]
Helper function for creating the environment to use for training
- Returns
a function that creates the environment