pystra.active_learning.learning.learning_u#

learning_u(mean, std, *, threshold=2.0)[source]#

Return the U score, best index (minimum), and threshold satisfaction.

Zero spread gives infinity away from zero and zero at the boundary. Arrays have shape (n_candidates,). threshold must be positive.

Return type:

tuple