Skip to content

Commit

Permalink
Restored regularization at Laplacian Eigenmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Sep 19, 2011
1 parent a176859 commit 8b3602c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/preprocessor/LaplacianEigenmaps.cpp
Expand Up @@ -149,7 +149,7 @@ SGMatrix<float64_t> CLaplacianEigenmaps::apply_to_feature_matrix(CFeatures* feat
// using ARPACK DS{E,A}UPD
int eigenproblem_status = 0;
float64_t* eigenvalues_vector = SG_MALLOC(float64_t,m_target_dim+1);
arpack_dsaeupd_wrap(W_matrix,D_diag_vector,N,m_target_dim+1,"LA",3,false,0.0,0.0,
arpack_dsaeupd_wrap(W_matrix,D_diag_vector,N,m_target_dim+1,"LA",3,false,-1e-9,0.0,
eigenvalues_vector,W_matrix,eigenproblem_status);
ASSERT(eigenproblem_status==0);
SG_FREE(eigenvalues_vector);
Expand Down

0 comments on commit 8b3602c

Please sign in to comment.