Where

  • is the weight vector
  • is the threshold (bias)