We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9606b commit e148c29Copy full SHA for e148c29
probreg/math_utils.py
@@ -26,7 +26,7 @@ def squared_kernel_sum(x, y):
26
27
28
def compute_rmse(source, target_tree):
29
- return sum([target_tree.query(pt)[0] for pt in source]) / source.shape[0]
+ return sum(target_tree.query(source)[0]) / source.shape[0]
30
31
32
def rbf_kernel(x, y, beta):
0 commit comments