diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2016-12-07 21:05:57 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2016-12-07 21:05:57 +0100 |
| commit | ab119782aca1a2eb9216cd721bca3ab9a0235911 (patch) | |
| tree | 6701667265066758f8150dc5ba29ceee0c28ca83 /include/gensvm_sparse.h | |
| parent | moved check for class labels to seperate module (diff) | |
| download | gensvm-ab119782aca1a2eb9216cd721bca3ab9a0235911.tar.gz gensvm-ab119782aca1a2eb9216cd721bca3ab9a0235911.zip | |
allow datasets to be stored in libsvm/svmlight format
Diffstat (limited to 'include/gensvm_sparse.h')
| -rw-r--r-- | include/gensvm_sparse.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
