Docstring issues in random_projection_split functions
#116 geöffnet am 10. Aug. 2018
Repository-Metriken
- Stars
- (6.478 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 12h 3m) (15 gemergte PRs in 30 T)
Beschreibung
Hi,
angular_random_projection_split, euclidean_random_projection_split, sparse_angular_random_projection_split and sparse_euclidean_random_projection_split all have the same docstring issue (the Returns section doesn't match what is returned by the function).
hyperplane_offset seems to always be a float. hyperplane (or hyperplane_vector) seems a bit harder to infer (it will likely be different for different functions).
angular_random_projection_split
https://github.com/lmcinnes/umap/blob/d286224a86dfe730c76f082c6f523b69b57bd0f8/umap/rp_tree.py#L128
euclidean_random_projection_split
https://github.com/lmcinnes/umap/blob/d286224a86dfe730c76f082c6f523b69b57bd0f8/umap/rp_tree.py#L217
sparse_angular_random_projection_split
https://github.com/lmcinnes/umap/blob/d286224a86dfe730c76f082c6f523b69b57bd0f8/umap/rp_tree.py#L327
sparse_euclidean_random_projection_split
https://github.com/lmcinnes/umap/blob/d286224a86dfe730c76f082c6f523b69b57bd0f8/umap/rp_tree.py#L436