Docstring issues in random_projection_split functions
#116 aberto em 10 de ago. de 2018
Métricas do repositório
- Stars
- (6.478 stars)
- Métricas de merge de PR
- (Mesclagem média 12h 3m) (15 fundiu PRs em 30d)
Description
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