Set num_neighbors of KPCA to num_vectors - 1, since KPCA doesn't need to check this value.