Pre- dicting and plotting., MATLAB Programming

You will need to implement at least two Matlab functions: HW3main.m and svmTrain.m. The implementation details are as follows:

function [alpha] = svmTrain(X,T,kernel,C,sigma)
% alpha: a solution vector for SVM.
% X: training input vectors.
% T: training targets.
% kernel: a type of kernel function, either linear, or rbf.
% C: the margin parameter.
% sigma: the rbf kernel parameter.

HW3main.m implements reading in the data files, calling svmTrain.m, pre- dicting and plotting.

Test your implementation using datasets provided at the class web site. In the datasets, the first two columns represent the input vector and the last column is for the class label.

 

Posted Date: 3/14/2013 5:58:38 AM | Location : United States







Related Discussions:- Pre- dicting and plotting., Assignment Help, Ask Question on Pre- dicting and plotting., Get Answer, Expert's Help, Pre- dicting and plotting. Discussions

Write discussion on Pre- dicting and plotting.
Your posts are moderated
Related Questions
Creating Column Vectors: One way to generate a column vector is by explicitly putting the values in square brackets, separated by the semicolons: >> c = [1; 2; 3; 4] c =

MATLAB. • MATLAB Programming; • Simulation in MATLAB.

Creating Matrix Variables: Creating a matrix variable is actually just a generalization of creating a row and column vector variables. That is, the values within the row are s

Problem 1. Create a vector representing x coordinates of a measurement with 20 points between 0 and 10. Create another vector y representing fake measurements which are related to

Answers should be submitted in an MS Word document. Simulations should accompany answers in a separate MATLAB file. 1)  Queuing Simulator: Consider a communications router that

(a) Find the spectrum of this waveform:  x = [ exp( -[0:1:49]/10), exp(-[50:-1:1]/10)]. Subplot only the magnitude by using the spectrum program from the class notes. (b) Using

We wish to numerically perform the following integration: (a) Use Matlab's quad function to perform the above integral. (b) Analytically evaluate the integral (e.g. do t


The Requirement details of project are as below. I also need detail description for presentation. For the project, given the training dataset ticdata2000.txt use any method you

Function Name: voteCounter Inputs (1): - (char) filename of votes Outputs (0): - none Function Description: You use the brand new VoteMaster 3000 to tally up votes in the r