⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dualmaxvariance.m

📁 a function inside machine learning
💻 M
字号:
function b = dualMaxVariance(K, Kj, Y, Yj)
%A function to compute the dual max variance vector using Kj

if (nargin ~= 4)
    fprintf('%s\n', help(sprintf('%s', mfilename)));
    error('Incorrect number of inputs - see above usage instructions.');
end

OPTS.disp = 0;
%OPTS.issym = true;  %Think this one is true too 
OPTS.isreal = true; 
[b, lambda] = eigs(Kj, 1, 'LM', OPTS);

b = b/sqrt(lambda); 

⌨️ 快捷键说明

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