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
write a matlab program to calculate employee salary.

Consider the 3rd order Bessel function J3(x). Write a script findBessRoots.m that computes all the roots of J3(x) in the interval [0; 40]. Your script must store the roots of the f

Relational Expressions: The Conditions in if statements use expressions which are theoretically, or logically, either true or false. These expressions are termed as relational

Damped free vibrations can be modelled by considering a block of mass m that is attached to a spring and a dashpot as shown. From Newton's second law of motion, the displac

Given , provide solutions for the following systems of equations a) , 1.0 10.5 0.5 9 0.5 3.25 5.25 2.5 2 13 5 6 ? ? ? ? ? ? ? ? ? ? ? A ? ? ? ? ? ? ? ? ? ? ? ? 3 7 16 b b) , 1.0 10

You are given data similar to the examples and sample problems in the statistics topic. Write MATLAB program to do the following: 1. Plot histogram, relative frequency histogram

This problem is intended to demonstrate some problems that can arise from the finite precision of numerical calculations performed with computers.  We will do this by approximating

1;write the matlab of LU decomposion that can do any n*n matrix by considering scaling and pivoting?

The Efficient Method: Though, in MATLAB, there is another built-in function which specifically produces random integers, i.e. randint. Calling the function with randint (1,1,n

how to wrote the mat lab programme and analysized for different refrigerant using in cascade refrigeration system