# Threshold Function

In math, a threshold function is a special class of step function, with a definition of the kind:

${f}_{T}\left(x\right):=IF\left(x>T\right)THEN\left(1\right)ELSE\left(0\right)=\left\{\begin{array}{c}1|x>T\\ 0|x\le T\end{array}$

Some things to note about this function. First, it only has 2 different values for its output: 1 and 0. Second, the place where it changes from 0 to 1 (and vice versa) is at the input value of `T`. Third is that a threshold function is not a continuous function, however a left continuous function.

## Usage

Threshold functions have wide usage. One example is with some types of artificial neurons.

-- Mirza Charles Iliya Krempeaux