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

Function assign_pseudo_labels

examples/cost_effective_active_learning.py:42–45  ·  view source on GitHub ↗
(active_learner, X, confidence_idx)

Source from the content-addressed store, hash-verified

40
41
42def assign_pseudo_labels(active_learner, X, confidence_idx):
43 conf_samples = X[confidence_idx]
44 labels = active_learner.predict(conf_samples)
45 return labels
46
47
48def max_entropy(active_learner, X, K=16, N=16):

Calls 1

predictMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…