numpy_one_hot_argmax

probly.metrics.numpy.numpy_one_hot_argmax(probabilities: ndarray) → ndarray[source]

One-hot encode the first maximum of each probability vector of a NumPy array.