From ab119782aca1a2eb9216cd721bca3ab9a0235911 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 7 Dec 2016 21:05:57 +0100 Subject: allow datasets to be stored in libsvm/svmlight format --- include/gensvm_sparse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/gensvm_sparse.h') diff --git a/include/gensvm_sparse.h b/include/gensvm_sparse.h index 570e19a..f897889 100644 --- a/include/gensvm_sparse.h +++ b/include/gensvm_sparse.h @@ -71,6 +71,7 @@ struct GenSparse { struct GenSparse *gensvm_init_sparse(); void gensvm_free_sparse(struct GenSparse *sp); long gensvm_count_nnz(double *A, long rows, long cols); +bool gensvm_nnz_comparison(long nnz, long rows, long cols); bool gensvm_could_sparse(double *A, long rows, long cols); struct GenSparse *gensvm_dense_to_sparse(double *A, long rows, long cols); double *gensvm_sparse_to_dense(struct GenSparse *A); -- cgit v1.2.3