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

📄 dualmaxsparsetargetalignment.m.svn-base

📁 a function inside machine learning
💻 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 + -