'Does anybody know a FALCONN KNN alternative, which can be saved as pickle?
I execute the following script:
#!/usr/bin/env python3
import torch
import falconn
ct = falconn.LSHConstructionParameters()
torch.save(ct , "ct.pkl")
Error:
*** TypeError: cannot pickle '_falconn.LSHConstructionParameters' object
How to save this constructor on disk?
Then, on Github, I found that the Falconn object is not able to be saved as a pickle. source: https://github.com/VarIr/scikit-hubness/issues/20
Does anybody know a FALCONN KNN alternative, which can be saved as pickle?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
