From f86a5674597915b5d44f959e27c5e0de8d19593f Mon Sep 17 00:00:00 2001 From: rfriedman22 Date: Wed, 16 Oct 2019 09:24:41 -0500 Subject: [PATCH] Removed print statements --- preimage/kernels/_generic_string.pyx | 1 - preimage/kernels/generic_string.py | 1 - 2 files changed, 2 deletions(-) diff --git a/preimage/kernels/_generic_string.pyx b/preimage/kernels/_generic_string.pyx index 0b3a67c..3f6d58d 100644 --- a/preimage/kernels/_generic_string.pyx +++ b/preimage/kernels/_generic_string.pyx @@ -134,7 +134,6 @@ cpdef generic_string_ngram_kernel_with_sigma_c(INT64_t[:, ::1] X1, INT64_t[::1] x2_lengths[j], position_matrix, similarity_matrix) - print("Converting Gram matrix to ndarray. FIXME get rid of this eventually.") return np.asarray(gram_matrix) diff --git a/preimage/kernels/generic_string.py b/preimage/kernels/generic_string.py index f2c0985..29209d4 100644 --- a/preimage/kernels/generic_string.py +++ b/preimage/kernels/generic_string.py @@ -187,7 +187,6 @@ def __call__(self, X1, X2): raise NotImplementedError("Kernel computation not implemented for this version!") gram_matrix = c_fun(X1_int, X2_int) - print("Normalizing the Gram matrix. FIXME get rid of this eventually.") gram_matrix = self._normalize(gram_matrix, X1_int, x1_lengths, X2_int, x2_lengths, is_symmetric, c_norm_fun) return gram_matrix