This file is indexed.

/usr/share/octave/site/m/vlfeat/toolbox/misc/vl_svmpegasos.m is in octave-vlfeat 0.9.17+dfsg0-6build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% VL_SVMPEGASOS [deprecated]
% VL_SVMPEGASOS is deprecated. Please use VL_SVMTRAIN() instead.



function [w b info] = vl_svmpegasos(DATA,LAMBDA, varargin)

% Verbose not supported
if (sum(strcmpi('Verbose',varargin)))
    varargin(find(strcmpi('Verbose',varargin),1))=[];
    fprintf('Option VERBOSE is no longer supported.\n');
end

% DiagnosticCallRef not supported
if (sum(strcmpi('DiagnosticCallRef',varargin)))
    varargin(find(strcmpi('DiagnosticCallRef',varargin),1)+1)=[];
    varargin(find(strcmpi('DiagnosticCallRef',varargin),1))=[];
    fprintf('Option DIAGNOSTICCALLREF is no longer supported.\n Please follow the VLFeat tutorial on SVMs for more information on diagnostics\n');
end

% different default value for MaxIterations
if (sum(strcmpi('MaxIterations',varargin)) == 0)
    varargin{end+1} = 'MaxIterations';
    varargin{end+1} = ceil(10/LAMBDA);
end

% different default value for BiasMultiplier
if (sum(strcmpi('BiasMultiplier',varargin)) == 0)
    varargin{end+1} = 'BiasMultiplier';
    varargin{end+1} = 0;
end

[w b info] = vl_svmtrain(DATA,LAMBDA,varargin{:});

fprintf('\n vl_svmpegasos is DEPRECATED. Please use vl_svmtrain instead. \n\n');

end