Project 4 Support Vector Machine(SVM) Solution

$35.00 $30.80

Description

  1. Overview

 

In this project, you should use SVM to deal with data. You can use any related methods to train your model, for example, SMO or Gradient Descent Algorithm. The given data contains 1334 ten dimensional samples. The training time of the model on the testing dataset is up to 60s. The SVM model you built should obtain the good generalization performance on dataset that used to evaluate your algorithm. The scores you get in this project will be given according to the performance of your algorithms in our test.

 

  1. General rules

 

After your submission, we will test your SVM program. To make this process as smooth as possible, the package you submit must satisfy the following requirements.

 

  1. Report

 

  1. The report should be submitted in pdf format, in which you should describe the core idea of your design and give the pseudo code. Please see the report template and evaluation standard (Released on sakai).

 

  1. Programming aspects

 

  1. To get rid of the operating system related issues and the execution efficiency issues of different programming languages, your algorithm must be implemented using Python 3.6 and the only allowed library is

 

  1. We will check your code to make sure that you do not use other packages.

 

  • You can use txtto train your model.

 

  1. The SVM program must be named by py

 

  1. Input: the format of the estimator call should be as follows:python SVM.py <train data> <test data > -t <time budget> < train data > is the absolute path of the train data

<test data> is the absolute path of the test data

 

<time budget> is a positive number which indicates how many seconds (in Wall clock time, range: [10s, 60s]) your algorithm can spend on this instance.

 

  1. Output: the predicted value of your program according the test data.You can output one label per line for each test example. We will redirect your print information to a file.

 

Output format: 1 -1

 

……

 

1

 

 

 

 

  1. Evaluation

 

After your submission, we will test your SVM program. The scores you get in this test depend on your predict accuracy.

 

  1. Test Environment

 

  • Operation System: Debian 10

 

  • Server CPU:2GHz*2, 20-core total

 

  • Python version: 3.6.6