compilemex.m

来自「非平衡数据集的分类问题经常出现在许多实际应用中.支持向量机在处理这一类问题时,整」· M 代码 · 共 52 行

M
52
字号
function compilemex(ker)

% COMPILMEX - compile all mex files implementing methods for class @smosvctutor

%
% File        : @smosvctutor/compilmex.m
%
% Date        : Friday 31st January 2003
%
% Author      : Dr Gavin C. Cawley
%
% Description : Compile mex files implementing methods for class @smosvctutor.
%               Part of an object-oriented implementation of Vapnik's Support
%               Vector Machine, as described in [1].
%
% References  : [1] V.N. Vapnik,
%                   "The Nature of Statistical Learning Theory",
%                   Springer-Verlag, New York, ISBN 0-387-94559-8,
%                   1995.
%
% History     : 31/01/2003 - v1.00
%
% Copyright   : (c) Dr Gavin C. Cawley, January 2003.
%
%    This program is free software; you can redistribute it and/or modify
%    it under the terms of the GNU General Public License as published by
%    the Free Software Foundation; either version 2 of the License, or
%    (at your option) any later version.
%
%    This program is distributed in the hope that it will be useful,
%    but WITHOUT ANY WARRANTY; without even the implied warranty of
%    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%    GNU General Public License for more details.
%
%    You should have received a copy of the GNU General Public License
%    along with this program; if not, write to the Free Software
%    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
%

clear mex;

fprintf(1, 'recompiling method @smosvctutor/evaluate ...\n');

mex -outdir @smosvctutor ...
            @smosvctutor/smosvctrain.cpp ...
            @smosvctutor/InfCache.cpp ...
            @smosvctutor/LrrCache.cpp ...
            @smosvctutor/SmoTutor.cpp -lm

% bye bye...

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?