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
The MATLAB system having of five main parts: * Handle Graphics. * The MATLAB working environment. * The MATLAB language. * The MATLAB mathematical function library.

Creating row Vectors: There are many ways to generate row vector variables. The most important way is to put the values which you want in the vector in square brackets, separa

i made graph using adjacent matrix i have to find the critical path on that graph in matlab work can you please give me that code.

The Programming Concept: In most of the programming languages, random function returns a real number; therefore the real number would then have to be rounded to produce a rand

Characters and Encoding: A character in a MATLAB is represented by using single quotes (example, 'a' or 'x'). The quotes are essential to denote a character; without them, the


A filter described by the equation:    y(n) = x(n) + x(n-1) + 0.9 y(n-1) - 0.81 y(n-2) (a) Find the transfer function H(z) for the filter and find the poles and zeros of the fil

Expand a matrix: To expand a matrix, an individual element could not be added as that would mean there would no longer be the similar number of values in every row. Though,

The Format Function and ellipsis: The default in MATLAB is to show numbers which have decimal places with four decimal places. The format command can be used to identify the o

#create a matlab GUI for designing common emitter amplifier which produces AC load lines based on the component values