a434c63df31f3b7d25f77da7c64e32f86d5230dd,umap/umap_.py,,fuzzy_simplicial_set,#Any#Any#Any#Any#Any#Any#Any#,574
Before Change
rp_tree_init=True,
leaf_array=leaf_array,
verbose=verbose)
knn_indices = tmp_indices.astype(np.int64)
if np.any(knn_indices < 0):
warn("Failed to correctly find n_neighbors for some samples."
"Results may be less than ideal. Try re-running with"
"different parameters.")
for i in range(knn_indices.shape[0]):
order = np.argsort(knn_dists[i])
knn_dists[i] = knn_dists[i][order]
knn_indices[i] = knn_indices[i][order]
sigmas, rhos = smooth_knn_dist(knn_dists, n_neighbors)
for i in range(knn_indices.shape[0]):
for j in range(n_neighbors):
After Change
metric_nn_descent = make_nn_descent(distance_func,
tuple(metric_kwds.values()))
// TODO: Hacked values for now
n_trees = 5 + int(round((X.shape[0]) ** 0.5 / 20.0))
n_iters = max(5, int(round(np.log2(X.shape[0]))))
leaf_array = rptree_leaf_array(X, n_neighbors,
rng_state, n_trees=n_trees,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: lmcinnes/umap
Commit Name: a434c63df31f3b7d25f77da7c64e32f86d5230dd
Time: 2017-12-08
Author: leland.mcinnes@gmail.com
File Name: umap/umap_.py
Class Name:
Method Name: fuzzy_simplicial_set
Project Name: scikit-image/scikit-image
Commit Name: 82111e4c0b3169a3856da02112c86447a3381ecc
Time: 2019-09-11
Author: r.fezzani@vitadx.com
File Name: skimage/transform/radon_transform.py
Class Name:
Method Name: radon
Project Name: nipy/dipy
Commit Name: 3ebeb8037e7bbb3007ddf668cb5e6512a0f70b5f
Time: 2011-07-27
Author: mrbago+git@gmail.com
File Name: dipy/tracking/fact_tracking.py
Class Name: FactTensorModel
Method Name: next_step
Project Name: f90/Wave-U-Net
Commit Name: fe50c52a31b3231a1777f14eb6131a819f082fc8
Time: 2019-01-24
Author: daniel@dstoller.net
File Name: Utils.py
Class Name:
Method Name: resample