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
Expressions: The Expressions can be formed using values, variables which have already been formed, operators, parentheses, and built-in functions. For numbers, these can invol

Size function - Dimensions of matrix: For the matrix mat shown next, it has three rows and two columns, therefore the size is 3 × 2. The length is the larger dimension that is

Build a single phase model for the simple 3-phase system shown in the single line diagram shown below using SimPowerSystems in MATLAB Simulink. Data: Source Voltage

how to display any words to the edittor

cAN Can I learn Metlab .I am X Scientist in DigitalCommunication. Can U please help me.I know the programming concepts

1. Assume that there exists a surface that can be modeled with the equation:  z = e-(x 2 + y 2 ).  a) Calculate ∇z at the point (x = 0, y = 0). b) In addition, use MATLAB to

why after i crop part of a tiff image the cropped image is of different pixel resolution

Various commands for get the help: There are various commands which can serve as an introduction to MATLAB and allow you to get the help: info will show contact informatio

How to Open Simpower: 1. Open MATLAB 2. In the "Command Window" write ' simulink ' and press Enter or click on the Simulink icon. 3. Simulink Library Browser w

In MATLAB, create a correlation matrix for all of the variables in the data (it should be an 8x8 matrix). To do this you will have to convert the "southern"variable into a number.