Skip to content

Commit

Permalink
todo for later
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jul 3, 2016
1 parent 263ab31 commit d30560e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/statistical_testing/QuadraticTimeMMD.cpp
Expand Up @@ -251,6 +251,8 @@ SGVector<float64_t> CQuadraticTimeMMD::gamma_fit_null()
/* compute variance under H0 of MMD, which is
* varMMD = 2/m/(m-1) * 1/m/(m-1) * sum(sum( (K + L - KL - KL').^2 ));
* in MATLAB, so sum up all elements */

// TODO parallelise or use linalg and precomputed kernel matrix
float64_t var_mmd=0;
for (index_t i=0; i<m; ++i)
{
Expand Down

0 comments on commit d30560e

Please sign in to comment.