@@ -149,10 +149,10 @@ def vote_entropy_sampling(committee, X, n_instances=1, **disagreement_measure_kw
149
149
Returns
150
150
-------
151
151
query_idx: numpy.ndarray of shape (n_instances, )
152
- The indices of the instances from X_pool chosen to be labelled.
152
+ The indices of the instances from X chosen to be labelled.
153
153
154
154
X[query_idx]: numpy.ndarray of shape (n_instances, n_features)
155
- The instances from X_pool chosen to be labelled.
155
+ The instances from X chosen to be labelled.
156
156
"""
157
157
disagreement = vote_entropy (committee , X , ** disagreement_measure_kwargs )
158
158
query_idx = multi_argmax (disagreement , n_instances = n_instances )
@@ -181,10 +181,10 @@ def consensus_entropy_sampling(committee, X, n_instances=1, **disagreement_measu
181
181
Returns
182
182
-------
183
183
query_idx: numpy.ndarray of shape (n_instances, )
184
- The indices of the instances from X_pool chosen to be labelled.
184
+ The indices of the instances from X chosen to be labelled.
185
185
186
186
X[query_idx]: numpy.ndarray of shape (n_instances, n_features)
187
- The instances from X_pool chosen to be labelled.
187
+ The instances from X chosen to be labelled.
188
188
"""
189
189
disagreement = consensus_entropy (committee , X , ** disagreement_measure_kwargs )
190
190
query_idx = multi_argmax (disagreement , n_instances = n_instances )
@@ -213,10 +213,10 @@ def max_disagreement_sampling(committee, X, n_instances=1, **disagreement_measur
213
213
Returns
214
214
-------
215
215
query_idx: numpy.ndarray of shape (n_instances, )
216
- The indices of the instances from X_pool chosen to be labelled.
216
+ The indices of the instances from X chosen to be labelled.
217
217
218
218
X[query_idx]: numpy.ndarray of shape (n_instances, n_features)
219
- The instances from X_pool chosen to be labelled.
219
+ The instances from X chosen to be labelled.
220
220
"""
221
221
disagreement = KL_max_disagreement (committee , X , ** disagreement_measure_kwargs )
222
222
query_idx = multi_argmax (disagreement , n_instances = n_instances )
@@ -242,10 +242,10 @@ def max_std_sampling(regressor, X, n_instances=1, **predict_kwargs):
242
242
Returns
243
243
-------
244
244
query_idx: numpy.ndarray of shape (n_instances, )
245
- The indices of the instances from X_pool chosen to be labelled.
245
+ The indices of the instances from X chosen to be labelled.
246
246
247
247
X[query_idx]: numpy.ndarray of shape (n_instances, n_features)
248
- The instances from X_pool chosen to be labelled.
248
+ The instances from X chosen to be labelled.
249
249
"""
250
250
_ , std = regressor .predict (X , return_std = True , ** predict_kwargs )
251
251
std = std .reshape (len (X ), )
0 commit comments