Tang
Tang
Hi, this error will be raised when cvxpy can not be imported properly (see the [source code](https://github.com/NUAA-AL/ALiPy/blob/86960cd02fc5a366e470231387c1cf63a9274ec4/alipy/query_strategy/query_labels.py#L1196)). You can check if 'import cvxpy' is ok in your current python environment...
Actually, the implementation depicted in the [paper](http://chbrown.github.io/kdd-2013-usb/kdd/p158.pdf) specifies the model as LR with square loss. The optimization solution also depends on LR.
Hi, thanks for your great work and sorry for the late reply. I have just finished an urgent task which took me more than a month. Now I have time...
Hey, Thanks for reporting this issue. Actually, we have noticed about the pickle problem and fixed it in the `dev` branch by adding `__setstate__()` and `__getstate__()` methods to avoid raising...
Hi, the problem is exactly what you think. Note that most of the existing AL methods do not expect the examples in unseen classes, unless they are proposed for openset...
Hi, sreevarsha. You can pass the train_idx , test_idx , label_idx , unlabel_idx when initializing the ToolBox object if you have your own data split setting. Each of them should...
So you have a **labeled** train set, and an **unlabeled** test set for querying. All you want to do is labeling some instances from the test set. Please try this:...
Hi, If you have the ground-truth labels of your unlabeled set, and pass it to query strategy (`y=np.hstack((y_unlab_gt, y_lab))`), AND add query with your ground-truth labels, ``` # Label the...
Hi, Have you tried the [pickle](https://wiki.python.org/moin/UsingPickle) module? You can save and load objects very easily with `pickle`. (Note that, if you change another data set, the classifier should be re-trained...
Hi, `lab_of_ins` is a list of the labels which correspond to the selected instances. So make sure they have the same length `assert len(select_ind) == len(lab_of_ins )` and correspond.