v0.0.0.9003
Pre-release
Pre-release
·
797 commits
to master
since this release
New features
- New parameter
ret_nn
: whenTRUE
returns nearest neighbor matrices
as ann
list: indices in itemidx
and distances in itemdist
. Embedded
coordinates are inembedding
. Bothret_nn
andret_model
can beTRUE
,
and should not cause any compatibility issues with supervised embeddings. nn_method
can now take precomputed nearest neighbor data. Must be a list of
two matrices:idx
, containing integer indexes, anddist
containing
distances. By no coincidence, this is the format return byret_nn
.
Bug fixes and minor improvements
- Embedding to
n_components = 1
was broken (#6) - User-supplied matrices to
init
parameter were being modified, in defiance of basic R pass-by-copy semantics.