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
In the manufacturing of ball bearings, the components, such as the ball, are hardened through a process of heating and then rapid cooling or "quenching" by submersion in an oil or

An FIR filter has coefficients b = [ 1.0000   -0.6387    1.0214    0.8210   -0.7470    1.0920 ] (a) Find H(z) for the filter and plot its frequency response (magnitude and phase

how can write a program to make a marksheet of 6 subjects?

For the signal with four harmonics (first to fourth) that can be obtained from the script, do the following: a)  Place the time domain signal for the case in which all the harmo

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

coding of sep protocol

Use MATLAB and a method based on linear predictive coding for the restoration of a clipped voiced speech signal. My proposed algorithm is based on linear prediction where a reco

i have a project in matlab : modeling of development of an outer organ (hand,leg and head) i don''t know how to do it, my teacher said me, i have to make it easy, so, it means i s

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

what are the steps we need to write in the script to get themedian for X values