Closed VarIr closed 3 years ago
So far, only puffinn
provides native pickle support.
in NNG
and RandomProjectionTree
we optionally support storing the index on disk/in shared memory to make the wrapper pickleable (and thus valid estimators).
This could also be enabled for other methods.
Pickle support for HNSW
/NMSlibTransformer
added in v0.3
dev branch, using the same strategy as for the AnnoyTransformer
.
Two years later there is still no way to serialize falconn indexes. Will remove falconn from v0.30
.
All classes should ideally inherit from
sklearn.base.BaseEstimator
. This will require theKNeighborsTransformer
, which will probably be introduced in scikit-learn v0.22.The following wrapper need to be made valid
BaseEstimators
:HNSW
NNG
FalconnLSH
PuffinnLSH
RandomProjectionTree