[Solved] CS60050 Assignment 3-SVM & ANN

$25

File Name: CS60050_Assignment_3-SVM_&_ANN.zip
File Size: 282.6 KB

SKU: [Solved] CS60050 Assignment 3-SVM & ANN Category: Tag:
5/5 - (1 vote)

Assignment 3: SVM & ANN

  1. Perform the following implementation and analysis of binary SVM classification on the provided data 40 marks
  2. Randomly pick 80% of the data as a training set and the rest as a test set.

Implement the binary SVM classifier using the following kernels:

  1. Linear
  2. Quadratic
  • Radial basis function
  1. Report both the training and test set classification accuracies for the most suitable value of generalization constant C for each of the three kernels. Consider C empirically. Report the accuracy in the form of a comparison table with corresponding C values (C value which provides the best test set accuracy is the most suitable one out of all those different trial values that you try.)
  1. Build a MLP classifier for the given dataset. Use stochastic gradient descent optimiser for the models. Find the number of nodes in the input and output layer according to the

dataset and justify it in the report. Randomly pick 80% of the data as a training set and

the rest as a test set. Use packages of pytorch.

  1. Vary the number of hidden layers and number of nodes in each hidden layer as follows. 20 marks
    1. 0 hidden layer
    2. 1 hidden layer with 2 nodes iii. 1 hidden layer with 6 nodes
    3. 2 hidden layers with 2 and 3 nodes respectively v. 2 hidden layers with 3 and 2 nodes respectively
  2. For each of the architectures, vary the learning rates as 0.1, 0.01, 0.001, 0.0001, 0.00001. Plot graph for the results with respect to accuracy. (Learning rate vs accuracy for each model and model vs accuracy for each learning rate.)
  3. Mention the architecture and hyper parameters (including optimizer and learning rate) of the best found model in the report. Try to justify it.
  4. (Optional) Compare execution time in CPU and GPU for each model. Conclude your findings.
  1. Compare the performances of both the classifiers.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS60050 Assignment 3-SVM & ANN
$25