e774241e452dbe309a27f9c6b3cbaf96995c4d82,safe_learning/lyapunov.py,Lyapunov,v_decrease_confidence,#Lyapunov#Any#Any#,254
Before Change
error_bounds : np.array
The error bounds for the decrease at each grid point.
raise NotImplementedError
def v_decrease_bound(self, states, next_states):
Compute confidence intervals for the decrease along Lyapunov function.
After Change
bound = self.lipschitz_lyapunov * tf.reduce_sum(error_bounds,
axis=1)
else:
bound = tf.constant(0., dtype=config.dtype)
v_decrease = (self.lyapunov_function(next_states)
- self.lyapunov_function(states))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: befelix/safe_learning
Commit Name: e774241e452dbe309a27f9c6b3cbaf96995c4d82
Time: 2017-04-05
Author: fberkenkamp@gmail.com
File Name: safe_learning/lyapunov.py
Class Name: Lyapunov
Method Name: v_decrease_confidence
Project Name: keras-team/keras
Commit Name: b4e01aee7f4a9b815542c77c3d537e7ba66dd8c9
Time: 2019-03-14
Author: abhai.dilip@gmail.com
File Name: keras/backend/cntk_backend.py
Class Name:
Method Name: cumsum
Project Name: tensorflow/transform
Commit Name: 44c938ce46c782b64fa35ac8f39676e8e5e27010
Time: 2017-08-31
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/beam/impl.py
Class Name:
Method Name: _assert_tensorflow_version
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 082a939809a47f74284ed555ba1c27b7a1eb5e42
Time: 2020-08-25
Author: abigailt@il.ibm.com
File Name: art/estimators/classification/keras.py
Class Name: KerasClassifier
Method Name: loss