Check that the search graph has been initialized in NNDescent.update to prevent reference to a nonexistent self._vertex_order. This same check is done in the other methods that reference the same property.
Also fixes an error in the NNDescent docstring that stated the wrong default value for compressed. This causes problems for UMAP.update because UMAP assumes compressed=False still.
Part of the fix for https://github.com/lmcinnes/umap/issues/790
Check that the search graph has been initialized in
NNDescent.update
to prevent reference to a nonexistentself._vertex_order
. This same check is done in the other methods that reference the same property.Also fixes an error in the
NNDescent
docstring that stated the wrong default value forcompressed
. This causes problems forUMAP.update
because UMAP assumescompressed=False
still.