32cf78d9b668f197318b7ac7e2403506f7a167e6,mushroom_rl/solvers/lqr.py,,compute_lqr_Q,#,98
Before Change
M = _compute_lqr_Q_matrix(lqr, K)
return -s.T @ M @ s
def compute_lqg_Q(s, lqr, K, Sigma):
After Change
M = _compute_lqr_Q_matrix(lqr, K)
m = lambda x, y: x.T @ M @ x
return -1. * pairwise_distances(s, metric=m).diagonal().reshape((-1, 1))
def compute_lqg_Q(s, lqr, K, Sigma):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 32cf78d9b668f197318b7ac7e2403506f7a167e6
Time: 2020-05-13
Author: joao.ac.carvalho@gmail.com
File Name: mushroom_rl/solvers/lqr.py
Class Name:
Method Name: compute_lqr_Q
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 32cf78d9b668f197318b7ac7e2403506f7a167e6
Time: 2020-05-13
Author: joao.ac.carvalho@gmail.com
File Name: mushroom_rl/solvers/lqr.py
Class Name:
Method Name: compute_lqr_V
Project Name: ellisdg/3DUnetCNN
Commit Name: 26572a6f569dbe13d3b707ae103d089c8c425933
Time: 2018-03-14
Author: david.ellis@unmc.edu
File Name: unet3d/utils/utils.py
Class Name:
Method Name: resize