/numpy-perceptron

Basic NumPy Perceptron

Primary LanguagePythonMIT LicenseMIT

NumPy-Perceptron

NumPy Perceptron with train loss and decision rule plotting.

perceptron-training

data = [([0, 0], [0]),
        ([0, 1], [0]),
        ([1, 1], [1]),
        ([1, 0], [0])]

p = Perceptron()
p.fit(data)