def heaviside(x, bias=0) -> int:
    """
    Heaviside function Theta(x - bias)

    returns 1 if x >= bias else 0

    :param x: floating point number as input to heavisde
    :param bias: shift on the heaviside function
    :return: 1 or 0 int
    """
    indicator = 1 if x >= bias else 0
    return indicator