Question: Design and implement a Perceptron binary classifier. Design and implement an Adaline binary classifier. Design and implement a Stochastic Gradient Descent (SGD) binary classifier. Write
Design and implement a Perceptron binary classifier.
Design and implement an Adaline binary classifier.
Design and implement a Stochastic Gradient Descent (SGD) binary classifier.
Write a program to test the different classifiers. Your program should be called main.py.
It should have two arguments: (i) classifier name, which can be perceptron, adaline, and sgd, and (ii) data file (including path information). You can have other arguments depending on the design of your program.
It should have proper error checking functions (e.g., make sure the classifier name is a valid one).
It calls the different classifiers to train models, make predictions, and report prediction errors.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
