Selection functions

Threshold function

The output is 0 if it's below the threshold, otherwise it's 1.

Argmax function

  • Picks the value with the highest value among different probabilities

  • Returns the "position" of the picked value.

class_0
class_1
class_2
Output

sample_0

0.2

0.6

0.2

1

sample_1

0.1

0.1

0.8

2

sample_2

0.5

0.2

0.3

0

Last updated

Was this helpful?