866c079c0a80f0ddaa93f51dbe08fd771b692dab,umap/umap_.py,,optimize_layout,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,680
Before Change
a * pow(dist_squared, b) + 1
)
if not np.isfinite(grad_coeff):
grad_coeff = 4.0
for d in range(dim):
grad_d = clip(grad_coeff * (current[d] - other[d]))
current[d] += grad_d * alpha
After Change
dist_squared = rdist(current, other)
if dist_squared > 0.0:
grad_coeff = -2.0 * a * b * pow(dist_squared, b - 1.0)
grad_coeff /= a * pow(dist_squared, b) + 1.0
else:
grad_coeff = 0.0
for d in range(dim):
grad_d = clip(grad_coeff * (current[d] - other[d]))
current[d] += grad_d * alpha
if move_other:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: lmcinnes/umap
Commit Name: 866c079c0a80f0ddaa93f51dbe08fd771b692dab
Time: 2018-08-13
Author: leland.mcinnes@gmail.com
File Name: umap/umap_.py
Class Name:
Method Name: optimize_layout
Project Name: pymc-devs/pymc3
Commit Name: 9805354d3351e29731f07cf0ce2389db063b3de7
Time: 2013-03-15
Author: jsalvatier@gmail.com
File Name: pymc/tuning/starting.py
Class Name:
Method Name: find_MAP
Project Name: automl/auto-sklearn
Commit Name: 679e77b78f7ba906cd2e6aa18366fa8facd153db
Time: 2017-02-11
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/evaluation/abstract_evaluator.py
Class Name: AbstractEvaluator
Method Name: file_output