?? 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 + -