📄 dualmaxsparsetargetalignment.m.svn-base
字号:
function b = dualMaxSparseTargetAlignment(K, Kj, Y, Yj)
%A function to compute the maximum sparse target alignment vector between matrix
%K and vector y
%We just use the example with the highest target alingment
numExamples = size(Kj, 1);
columnIndices = (1:numExamples)';
[alignments, bs] = sparseAlignments(K, Kj, Y, Yj, columnIndices);
[maxAlignment, i] = max(alignments);
b = zeros(numExamples, 1);
b(i) = bs(i);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -