Hate to say this but Copilot is only impressive at 1st glance. Take a 2nd glance and you'll notice these silent bugs. Do you see the issue? Hint: the perceptron below may work ok on standardized data (or generally features centered at 0), but otherwise it will fail spectacularly.
Two easy steps for beginners to code a Perceptron from scratch:
1. Get Github Copilot
2. Write "class Perceptron"
Crazy🤪
May 28, 2022 · 10:57 PM UTC
Hah, yes, on a 3rd glance there are lots of issues! Also, cosmetically, I think it's really clunky to have a set_inputs methods for the dataset. And has Copilot never heard of @property?