ictransf.m

来自「this a SVM toolbox,it is very useful for」· M 代码 · 共 30 行

M
30
字号
function [alpha,theta]=ictransf(oalpha)% ICTRANSF complementary trasformation to ctransf.%  [alpha,theta]=ictransf(oalpha)%% ICTRANSF is a complementary function of CTRANSF.%  Refer to CTRANSF for more description.%% Input:%   oalpha [(N+1)x1] is a vector in transformed feature space.%% Output:%   alpha [N,1] a column vector in the original feature space.%   theta [1x1] a threshold in the original feature space.%% See also CTRANSF, HOMOG2.%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz% Written Vojtech Franc (diploma thesis) 11.4.2000% Modifications% 24. 6.00 V. Hlavac, comments polished.% dimensionD=max(size(oalpha));% transform alphaalpha=oalpha(1:D-1);theta=-oalpha(D);

⌨️ 快捷键说明

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