Skip to content

Commit

Permalink
Restored normalization at Difmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Dec 2, 2011
1 parent 825dc66 commit b2b1573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/converter/DiffusionMaps.cpp
Expand Up @@ -137,7 +137,7 @@ CSimpleFeatures<float64_t>* CDiffusionMaps::embed_kernel(CKernel* kernel)
for (i=0; i<m_target_dim; i++)
{
for (j=0; j<N; j++)
new_feature_matrix[j*m_target_dim+i] = kernel_matrix.matrix[(m_target_dim-i-1)*N+j];///kernel_matrix.matrix[(m_target_dim)*N+j];
new_feature_matrix[j*m_target_dim+i] = kernel_matrix.matrix[(m_target_dim-i-1)*N+j]/kernel_matrix.matrix[(m_target_dim)*N+j];
}
kernel_matrix.destroy_matrix();

Expand Down

0 comments on commit b2b1573

Please sign in to comment.