722552e32c4c218b00abcdb1464dd2dbcbfa0f2f,src/garage/np/algos/cma_es.py,CMAES,__init__,#CMAES#Any#Any#Any#Any#Any#Any#Any#,29

Before Change


                 discount=0.99,
                 max_path_length=500,
                 sigma0=1.):
        super().__init__(env_spec=env_spec,
                         policy=policy,
                         baseline=baseline,
                         discount=discount,
                         max_path_length=max_path_length,
                         n_samples=n_samples)

        self.sigma0 = sigma0

        self._es = None

After Change


                 max_path_length=500,
                 sigma0=1.):
        self.policy = policy
        self.max_path_length = max_path_length
        self.sampler_cls = BatchSampler

        self._env_spec = env_spec
        self._discount = discount
        self._sigma0 = sigma0
        self._n_samples = n_samples
        self._baseline = baseline
        self._episode_reward_mean = collections.deque(maxlen=100)

        self._es = None
        self._all_params = None
        self._cur_params = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 15

Instances


Project Name: rlworkgroup/garage
Commit Name: 722552e32c4c218b00abcdb1464dd2dbcbfa0f2f
Time: 2020-06-01
Author: ericyihc@usc.edu
File Name: src/garage/np/algos/cma_es.py
Class Name: CMAES
Method Name: __init__


Project Name: rlworkgroup/garage
Commit Name: 722552e32c4c218b00abcdb1464dd2dbcbfa0f2f
Time: 2020-06-01
Author: ericyihc@usc.edu
File Name: src/garage/np/algos/cma_es.py
Class Name: CMAES
Method Name: __init__


Project Name: rlworkgroup/garage
Commit Name: 722552e32c4c218b00abcdb1464dd2dbcbfa0f2f
Time: 2020-06-01
Author: ericyihc@usc.edu
File Name: src/garage/np/algos/cem.py
Class Name: CEM
Method Name: __init__


Project Name: rlworkgroup/garage
Commit Name: f5e8cbc21c5a78e2c2996e256f0f2bd5b6930f90
Time: 2020-06-03
Author: ericyihc@usc.edu
File Name: src/garage/tf/algos/npo.py
Class Name: NPO
Method Name: __init__