Skip to content

Commit

Permalink
removed some debug messages from cross-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
lambday committed Jul 13, 2016
1 parent 6251ce6 commit 46803f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -153,9 +153,9 @@ void PermutationTestCrossValidation::operator()(const SGMatrix<T>& km, index_t k
k, rejections.num_cols-1);

// km.display_matrix("kernel_matrix");
typedef Matrix<T, Dynamic, Dynamic> MatrixXt;
Map<MatrixXt> map(km.data(), km.num_rows, km.num_cols);
cout << map << endl;
// typedef Matrix<T, Dynamic, Dynamic> MatrixXt;
// Map<MatrixXt> map(km.data(), km.num_rows, km.num_cols);
// cout << map << endl;

SGVector<int64_t> dummy_labels_x(n_x);
SGVector<int64_t> dummy_labels_y(n_y);
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/statistical_testing/KernelSelection_unittest.cc
Expand Up @@ -239,7 +239,7 @@ TEST(KernelSelectionMaxCrossValidation, quadratic_time_single_kernel_dense)
mmd->set_statistic_type(ST_BIASED_FULL);
mmd->set_null_approximation_method(NAM_PERMUTATION);
mmd->set_num_null_samples(1);
mmd->io->set_loglevel(MSG_DEBUG);
// mmd->io->set_loglevel(MSG_DEBUG);
for (auto i=0, sigma=-5; i<num_kernels; ++i, sigma+=1)
{
float64_t tau=pow(2, sigma);
Expand Down

0 comments on commit 46803f0

Please sign in to comment.