Machine learning 利用FLANN库进行多标签分类

Machine learning 利用FLANN库进行多标签分类,machine-learning,classification,flann,approximate-nn-searching,c++,python,Machine Learning,Classification,Flann,Approximate Nn Searching,C++,Python,我想利用FLANN库进行多标签分类。我知道FLANN库用于计算最近邻,但我不确定如何利用它进行分类。 是否有办法将其插入Scikit Learn或其他库。是用英文编写的。但是,作者提供了绑定,例如: from pyflann import * from numpy import * from numpy.random import * dataset = rand(10000, 128) testset = rand(1000, 128) flann = FLANN() result,dists

我想利用FLANN库进行多标签分类。我知道FLANN库用于计算最近邻,但我不确定如何利用它进行分类。 是否有办法将其插入Scikit Learn或其他库。

是用英文编写的。但是,作者提供了绑定,例如:

from pyflann import *
from numpy import *
from numpy.random import *
dataset = rand(10000, 128)
testset = rand(1000, 128)
flann = FLANN()
result,dists = flann.nn(dataset,testset,5,algorithm="kmeans",
branching=32, iterations=7, checks=16);
我从他们那里得到的


这应该让你开始了解如何将它与。关于如何使用NN进行分类的问题太广泛,这里无法给出答案,祝你好运