tmadl / semisup-learn

Semi-supervised learning frameworks for python, which allow fitting scikit-learn classifiers to partially labeled data
MIT License
501 stars 153 forks source link

unlabeledX ? #12

Open bscully27 opened 5 years ago

bscully27 commented 5 years ago

label a few points

labeled_N = 4 ys = np.array([-1]*len(ytrue)) # -1 denotes unlabeled point

Are unlabeled points a workaround for train/test data points? Ie, model.fit(x_trn, y_trn). model.score(x_tst, y_tst)