You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ask_id = qs.make_query() # let the specified query strategy suggest a data to query
75
+
X, y =zip(*trn_ds.data)
76
+
lb = lbr.label(X[ask_id]) # query the label of unlabeled data from labeler instance
77
+
trn_ds.update(ask_id, lb) # update the dataset with newly queried data
78
+
```
79
79
80
80
Some examples are available under the `examples` directory. Before running, use
81
81
`examples/get_dataset.py` to retrieve the dataset used by the examples.
@@ -88,4 +88,4 @@ Available examples:
88
88
89
89
# Acknowledgments
90
90
91
-
The authors thank Chih-Wei Chang and other members of the [Computational Learning Lab](https://learner.csie.ntu.edu.tw/) at National Taiwan University for valuable discussions and various contributions to making this package better.
91
+
The authors thank Chih-Wei Chang and other members of the [Computational Learning Lab](https://learner.csie.ntu.edu.tw/) at National Taiwan University for valuable discussions and various contributions to making this package better.
0 commit comments