function classify(x, weight, bias, threshold=0):
   score = weight * x + bias

   return "positive" if score > threshold else "negative"
 # the boundary is the set of points where score == threshold
