Question: (1) Design and implement a Perceptron binary classifier. (2) Design and implement an Adaline binary classifier. (3) Design and implement a Stochastic Gradient Descent (SGD)
(1) Design and implement a Perceptron binary classifier.
(2) Design and implement an Adaline binary classifier.
(3) Design and implement a Stochastic Gradient Descent (SGD) binary classifier.
(4) Write program to test the different classifiers. Please use Iris Dataset
(a) It should have two arguments: (i) classifier name, which can be perceptron, adaline, and sgd, and (ii) data file (including path information).
(b) It calls the different classifiers to train models, make predictions, and report prediction errors.
(c) No Sklearn or other advanced packages
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
