272f235fd8418eae67631d62051084eb363f781b,chaospy/descriptives/conditional.py,,E_cond,#Any#Any#Any#,10
Before Change
freeze = numpoly.polynomial(freeze)
if freeze.isconstant():
freeze = freeze.tonumpy().astype(bool)
else:
poly, freeze = numpoly.align_exponents(poly, freeze)
freeze = numpy.isin(poly.keys, freeze.keys)
After Change
freeze = [name in freeze.names for name in poly.names]
else:
freeze = freeze.tonumpy()
freeze = numpy.asarray(freeze, dtype=bool)
// decompose into frozen and unfrozen part
poly = numpoly.decompose(poly)
unfrozen = poly(**{
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: jonathf/chaospy
Commit Name: 272f235fd8418eae67631d62051084eb363f781b
Time: 2020-11-05
Author: jonathf@users.noreply.github.com
File Name: chaospy/descriptives/conditional.py
Class Name:
Method Name: E_cond
Project Name: chainer/chainerrl
Commit Name: ca802796082e29753523dcbea3655c0cb95aefbb
Time: 2017-07-31
Author: kataoka@preferred.jp
File Name: chainerrl/agents/ppo.py
Class Name: PPO
Method Name: _act
Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 02716e101ec2a8eb7284f95b17a7e589ffbc075d
Time: 2017-10-18
Author: max.lapan@gmail.com
File Name: ch06/01_dqn_pong.py
Class Name: ImageWrapper
Method Name: _observation