Fill This Form To Receive Instant Help
Homework answers / question archive / CS7840 Spring 21/22 Soft Computing Assignment 2 Create a model to optimize prediction of the IRIS dataset using a perceptron
CS7840 Spring 21/22
Soft Computing
Assignment 2
Create a model to optimize prediction of the IRIS dataset using a perceptron.
Using the IRIS dataset again. Build a multilayer perceptron with a depth of 2, 20% input drop rate, and 5-% hidden layer drop rate. For the non-linear activation function, use the leaky rectify function for the first dense leayer, and softmax for the second dense layer.
Leaky Rectify Nonlinearity Function
The Leaky Rectifier has a non-zero gradient for negative inputs which often helps convergence:
v if v ≥ 0
(1)
α · v otherwise.
? |
( |
v |
)= |
|
The slope for the negative input is α, a value between 0 and 1 which is a measure of ”leakiness”. A leakiness of 0 will converge to the standard rectifier, and a leakiness of 1 will lead to a linear activation function.
Load the Store Data file provided on Pilot and create a data frame of the list of items in the file.
0.0045, minimum confidence of 0.2, and minimum lift of 3.
Open Orange 3 either from the command line or from the Anaconda Navigator. Using the IRIS dataset again, create a scatter plot of the data.
Load the breast cancer dataset from Scikit-Learn.
Using the IRIS dataset again, use the decision tree classifier to fit the data and plot the tree.
Decision Surface
The Decision surface in a statistical classification problem, is the boundary of a hypersurface that partitions the underlying vector space of the data in each class. It shows where the algorithm separates the data of each each class.
b. Use Orange to do the same.
In Orange, use the Breast Cancer dataset with a Random Forest model.
Please download the answer file using this link
https://drive.google.com/file/d/1F_ewme9T4vfHI5-fQt1tkah60fuxGzVS/view?usp=drivesdk