0% found this document useful (0 votes)
48 views1 page

CMP04409 Machine Learning, Assignment 4

The document discusses training a support vector machine classifier on sample datasets for a machine learning assignment. It lists the Fisher Iris and Ovarian Cancer datasets that can be used, including their sizes and descriptions. The student is asked to choose one of the datasets to train an SVM classifier on, and draw the confusion matrix and ROC curve of the trained model.

Uploaded by

Ayesha Saif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

CMP04409 Machine Learning, Assignment 4

The document discusses training a support vector machine classifier on sample datasets for a machine learning assignment. It lists the Fisher Iris and Ovarian Cancer datasets that can be used, including their sizes and descriptions. The student is asked to choose one of the datasets to train an SVM classifier on, and draw the confusion matrix and ROC curve of the trained model.

Uploaded by

Ayesha Saif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

DEPARTMENT OF COMPUTER ENGINEERING

The University of Lahore


1 - KM Defence Road, Lahore

=================================================
Subject: Machine Learning Course Code:CMP04409
Time Allowed: 01 Weeks Max Marks: 10
Examination: Assignment 04,Fall-2021 Date: 2 / 01 / 2022
Student Name: Reg. No. :
=================================================
Note:
(i) Draw neat and clean labeled diagrams where necessary.
=================================================
Submission Deadline: 26 / 05 / 2020

Question # 1: [CLO3, C4] (10)

Question: Choose any from the following available datasets. You are required to train a support vector
machine-based classifier to find accuracy of the trained model?

Draw the confusion matrix and ROC curve of the trained classifier?

Example Data for Classification


To get started using Classification Learner, try the following example data sets.

Name Size Description

Fisher Iris Number of Measurements from three species of iris. Try to classify
predictors: 4 the species.
Number of
For a step-by-step example, see Train Decision Trees
observations: 150
Using Classification Learner App.
Number of classes: 3
Response: species
Create a table from the .csv file:
fishertable = readtable('fisheriris.csv');
Ovarian Number of Ovarian cancer data generated using the WCX2 protein
Cancer predictors: 4000 array. Includes 95 controls and 121 ovarian cancers.
Number of
observations: 216
Number of classes: 2
Response: Group
Create a table from the .mat file:
load ovariancancer
ovariancancer = array2table(obs);
ovariancancer.Group = categorical(grp);

You might also like