6cacd6b98ad0ba1f98a53b84b50afea29eb5c8df,pynndescent/pynndescent_.py,NNDescent,__init__,#NNDescent#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,463
Before Change
else:
self.tree_init = True
self._dist_args = tuple((metric_kwds or {}).values())
self.random_state = check_random_state(random_state)
if callable(metric):
After Change
self.tree_init = True
metric_kwds = metric_kwds or {}
self._dist_args = tuple(metric_kwds.values())
self.random_state = check_random_state(random_state)
if callable(metric):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: lmcinnes/pynndescent
Commit Name: 6cacd6b98ad0ba1f98a53b84b50afea29eb5c8df
Time: 2019-06-02
Author: jlmelville@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name: NNDescent
Method Name: __init__
Project Name: lmcinnes/pynndescent
Commit Name: 7eac59c2f6005509f2e3e0032d1dfdc3706684f1
Time: 2019-06-02
Author: jlmelville@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name: NNDescent
Method Name: __init__
Project Name: lmcinnes/umap
Commit Name: 245ee45cb94de78bf708b0c10093fa64a9b88fb5
Time: 2018-10-07
Author: leland.mcinnes@gmail.com
File Name: umap/umap_.py
Class Name:
Method Name: nearest_neighbors