c0d3f71a194f30b8b25cb37813452367a02fc45a,example.py,,editor_example,#,9

Before Change


            // command_list = command_str.strip().split()
            // command[0] = command_list[0]
            // command[1] = command_list[1]
            if (i / 100) % 2 == 0:
                command = np.array([1, 1], np.float32)
            else:
                command = np.array([1, -1], np.float32)
            state, reward, terminal, _ = env.step(command)
            // print i, reward, terminal, len(state)

            cv2.imshow("test", state[0])

After Change


            //     command = np.array([1, 1], np.float32)
            // else:
            //     command = np.array([1, -1], np.float32)
            command = np.random.normal(0, 2, 2)
            state, reward, terminal, _ = env.step(command)
            // print i, reward, terminal, len(state)

            cv2.imshow("test", state[0])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: BYU-PCCL/holodeck
Commit Name: c0d3f71a194f30b8b25cb37813452367a02fc45a
Time: 2017-09-05
Author: joshua.greaves@googlemail.com
File Name: example.py
Class Name:
Method Name: editor_example


Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: 6fbef6a3631d94991ab02a9f7411e3b6fd954dfc
Time: 2019-01-12
Author: jonas.rothfuss@gmx.de
File Name: tests/unittests_estimators.py
Class Name: TestConditionalDensityEstimators_2d_gaussian
Method Name: test_NKDE_with_2d_gaussian


Project Name: geomstats/geomstats
Commit Name: 8e0ca26e5571d47425fc73bb3bb118082b742d00
Time: 2021-03-17
Author: nicolas.guigui@inria.fr
File Name: geomstats/geometry/spd_matrices.py
Class Name: SPDMatrices
Method Name: random_uniform


Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: 4f9f28da19466e18165feb5a3dab0e82f686b926
Time: 2019-01-13
Author: jonas.rothfuss@gmx.de
File Name: tests/unittests_estimators.py
Class Name: TestConditionalDensityEstimators_2d_gaussian
Method Name: test_LSCD_with_2d_gaussian