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
s = s.reshape((1, -1))
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: 8
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: cesium-ml/cesium
Commit Name: 19fbae4ea6092bfc69e4f828febbd15f72365311
Time: 2016-11-10
Author: brettnaul@gmail.com
File Name: cesium/features/cadence_features.py
Class Name:
Method Name: delta_t_hist