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

Function random_sampling

examples/shape_learning.py:60–61  ·  view source on GitHub ↗
(classsifier, X)

Source from the content-addressed store, hash-verified

58
59
60def random_sampling(classsifier, X):
61 return np.random.randint(len(X))
62
63
64X_pool = deepcopy(X_full)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…