% Problem 2 part b
close all;
% load the data
SVM_data_partb

% train the model
C = logspace(-4, 4, 5);
for i = 1:length(C)
    model = train(labels,sparse(data),[ '-c ' num2str(C(i))]);
 
    % plot the classifier and the data
    plotSVM(data, labels, model);
end
