Question: In this assignment, you fit different classifiers ( linear regression, SVM , Neural Network and Naive Bayesian ) on iris dataset ( use sklearn.datasets.load _

In this assignment, you fit different classifiers (linear regression, SVM, Neural Network and Naive Bayesian) on iris dataset (use sklearn.datasets.load_irisLinks to an external site. to load it).
Step 1: use assignment 4 draft.py to draw the following six scatter plots depicting the way different classifiers perform on the iris dataset which has 50 samples for each of its three classes(labels). These plots figure each class with a different color (red, blue, white)
Step 3: (25 points) Compare the following six classifiers by drawing a grid of six plots similar to the one you obtained from step 1:
linear regression
linearSVC
GaussianNB w/ var_smoothing=2e1
GaussianNB w/ var_smoothing=1e1
GaussianNB w/ var_smoothing=1e0
GaussianNB w/ var_smoothing=1e-1
Step 4: (25 points) Compare six variations of SVM classifiers with kernels ['sigmoid','rfb'], and gamma values [1e-1,1e0,1e2] by drawing a grid of six plots similar to the one you obtained from step 1.
Step 5: (25 points) Compare eight variations of neural network MLP classifiers with default alpha (1e-4), solvers ['adam','lbfgs'], activation ['logistic', 'relu'] and layers [(30,30),(10,5)] by drawing a grid of eight plots similar to the one you obtained from step 1.
Submissions
Please submit a single zip file compressing the following:3,5,7], and gamma values [.3,.5] by drawing a grid of six plots similar to the one you obtained from step 1.
assignment 4.png
Step 2: (25 points)
assginment 4.py (source code)
report.pdf containing the plots drawn in steps 1 to 5.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!