scib_metrics.nearest_neighbors.pynndescent# scib_metrics.nearest_neighbors.pynndescent(X, n_neighbors, random_state=0, n_jobs=1)[source]# Run pynndescent approximate nearest neighbor search. Parameters: X (ndarray) – Data matrix. n_neighbors (int) – Number of neighbors to search for. random_state (int (default: 0)) – Random state. n_jobs (int (default: 1)) – Number of jobs to use. Return type: NeighborsResults