diff --git a/Code/MonoMutliViewClassifiers/utils/Dataset.py b/Code/MonoMutliViewClassifiers/utils/Dataset.py index bf3fa517e956586c28b45b3cbd1e31d45dc7fdb5..817507969da8daba592a9a975df722659b5b7d00 100644 --- a/Code/MonoMutliViewClassifiers/utils/Dataset.py +++ b/Code/MonoMutliViewClassifiers/utils/Dataset.py @@ -38,7 +38,7 @@ def extractSubset(matrix, usedIndices): oldindptr = matrix.indptr for exampleIndexIndex, exampleIndex in enumerate(usedIndices): newIndptr[exampleIndexIndex+1] = newIndptr[exampleIndexIndex]+(oldindptr[exampleIndex+1]-oldindptr[exampleIndex]) - print newIndptr[-1] + print newIndptr newData = np.ones(newIndptr[-1], dtype=bool) newIndices = np.zeros(newIndptr[-1], dtype=np.int32) oldIndices = matrix.indices