ce961ed06c22bf7c1178162450a88174fb401c14,tensorforce/models/q_demo_model.py,QDemoModel,__init__,#QDemoModel#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,31
Before Change
expert_margin,
supervised_weight
):
if any(action["type"] not in ("bool", "int") for action in actions_spec.values()):
raise TensorForceError("Invalid action type, only "bool" and "int" are valid!")
self.expert_margin = expert_margin
self.supervised_weight = supervised_weight
super(QDemoModel, self).__init__(
After Change
expert_margin,
supervised_weight
):
if any(action["type"] not in ("bool", "int") for action in actions_spec.values()):
raise TensorForceEr ror("Invalid action type, only "bool" and "int" are valid!")
self.expert_margin = expert_margin
self.supervised_weight = supervised_weight
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: reinforceio/tensorforce
Commit Name: ce961ed06c22bf7c1178162450a88174fb401c14
Time: 2017-11-25
Author: mi.schaarschmidt@gmail.com
File Name: tensorforce/models/q_demo_model.py
Class Name: QDemoModel
Method Name: __init__
Project Name: pandas-dev/pandas
Commit Name: 8bdd08136a9ec7da8338c07ea2acffb4cdc19ad9
Time: 2021-02-24
Author: 45562402+rhshadrach@users.noreply.github.com
File Name: pandas/core/apply.py
Class Name: Apply
Method Name: transform_dict_like
Project Name: biolab/orange3
Commit Name: b39db6e2bf0c806554578b5c9895d9b7ef6bd48c
Time: 2017-09-09
Author: pavlin.g.p@gmail.com
File Name: Orange/statistics/util.py
Class Name:
Method Name: countnans