871efe7cbf95f2deded3d8b673b7b3c68b816e4c,dit/utils/optimization.py,,,#,45
Before Change
self.positions.append(x.copy())
Candidate = namedtuple("Candidate", ["position", "value", "constraints"])
class BasinHoppingCallBack(object):
After Change
from scipy.optimize import OptimizeResult
__all__ = [
"BasinHoppingCallBack",
"BasinHoppingInnerCallBack",
"Uniquifier",
"accept_test",
"basinhop_status",
"colon",
"memoize_optvec",
]
colon = slice(None, None, None)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: dit/dit
Commit Name: 871efe7cbf95f2deded3d8b673b7b3c68b816e4c
Time: 2018-02-12
Author: ryangregoryjames@gmail.com
File Name: dit/utils/optimization.py
Class Name:
Method Name:
Project Name: rlworkgroup/garage
Commit Name: 9f24dafb903eeb3c38461214873f2194be22ca28
Time: 2018-12-18
Author: 35857569+gonzaiva@users.noreply.github.com
File Name: garage/envs/base.py
Class Name:
Method Name:
Project Name: tensorflow/datasets
Commit Name: 1d8f936238d175e1256b7b95e98e897f605f80f3
Time: 2019-03-28
Author: adarob@google.com
File Name: tensorflow_datasets/translate/wmt.py
Class Name:
Method Name: