text: from nn.perceptron import Perceptron
  import numpy as np
  
  # Testing the perceptron with OR bitwise dataset
  X = np.array([[0, 0], [0, 1], [1, 0], [1, 1]])
  y = np.array([[0], [1], [1], [1]])
  
  print("[INFO] training perceptron...")
  p = Perceptron(X.shape[1], alpha=0.1)
  p.fit(X, y, epochs=20)
  
  print("[INFO] evaluating perceptron..")
  for (x, target) in zip(X, y):
      pred = p.predict(x)
      print("[INFO] data={}, ground-truth={} pred={}".format(x, target[0], pred))