Skip to content

Commit

Permalink
Unified Kernel LLE and LLE regularization parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Oct 2, 2011
1 parent 9698ed3 commit 61c4de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/preprocessor/KernelLocallyLinearEmbedding.cpp
Expand Up @@ -357,7 +357,7 @@ void* CKernelLocallyLinearEmbedding::run_linearreconstruction_thread(void* p)

// regularize gram matrix
for (j=0; j<m_k; j++)
local_gram_matrix[j*m_k+j] += 1e-3*trace/m_k;
local_gram_matrix[j*m_k+j] += 1e-3*trace;

clapack_dposv(CblasColMajor,CblasLower,m_k,1,local_gram_matrix,m_k,id_vector,m_k);

Expand Down

0 comments on commit 61c4de9

Please sign in to comment.