I'm trying to train a sklearn.svm.SVC() model with a multilabel dataset by using KL-MAX strategy, and I don't know how to create a committee for the KL_max_disagreement function.
I splitted the dataset to X_V(1%), X_U(69%) and X_Test(30%), and after SVC().fit(X_V,Y_V), I want to return 1% indexes of the data
from X_U which are most useful for the learning per iter. However I completely don't know how to use the KL_max_disagreement function, I only have one SVC() model and I tried
Hi.
I'm trying to train a
sklearn.svm.SVC()
model with a multilabel dataset by using KL-MAX strategy, and I don't know how to create a committee for theKL_max_disagreement
function.I splitted the dataset to X_V(1%), X_U(69%) and X_Test(30%), and after
SVC().fit(X_V,Y_V)
, I want to return 1% indexes of the data from X_U which are most useful for the learning per iter. However I completely don't know how to use theKL_max_disagreement
function, I only have one SVC() model and I triedIt obviously doesn't work, raise an AttributeError: 'SVC' object has no attribute 'estimator'. And I really don't know how am I supposed to go on.
I'm a green hand and I sincerely hope that someone can teach me how to make it.