You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: vl_demo_svm.m
    path of file: ./repos/2015_Face_Detection/vlfeat/toolbox/demo
    
    the code of the file until where you have to start completion: % VL_DEMO_SVM  Demo: SVM: 2D linear learning
function vl_demo_svm
y=[];X=[];

% Load training data X and their labels y
load('vl_demo_svm_d
    
function vl_demo_svm
y=[];X=[];

% Load training data X and their labels y
load('vl_demo_svm_data.mat')


Xp = X(:,y==1);
Xn = X(:,y==-1);

figure
plot(Xn(1,:),Xn(2,:),'*r')
hold on
plot(Xp(1,:),Xp(2,:),'*b')
axis equal ;
vl_demo_print('svm_training') ;
% Parameters
lambda = 0.01 ; % Regularization parameter
maxIter = 1000 ; % Maximum number of iterations

energy = [] ;
% Diagnostic function
function diagnostics(svm)
  energy = [energy [svm.objective ; svm.dualObjective ; svm.dualityGap ] ] ;
end