MCPcopy Create free account
hub / github.com/modAL-python/modAL / custom_query_strategy

Method custom_query_strategy

tests/core_tests.py:1207–1208  ·  view source on GitHub ↗
(classifier, X)

Source from the content-addressed store, hash-verified

1205 query_instance_ = X_pool[query_idx_]
1206
1207 def custom_query_strategy(classifier, X):
1208 return query_idx_, query_instance_
1209
1210 train_idx = np.random.choice(range(n_samples), size=2, replace=False)
1211 custom_query_learner = modAL.models.learners.ActiveLearner(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected