diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2016-10-14 18:35:38 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2016-10-14 18:35:38 +0200 |
| commit | e34123e1055c26d740148cefdb8d1b90208e424e (patch) | |
| tree | 51c62b010f4beddaa5cd8259fd420a433a8fd1b1 /include/gensvm_base.h | |
| parent | documentation fixes (diff) | |
| download | gensvm-e34123e1055c26d740148cefdb8d1b90208e424e.tar.gz gensvm-e34123e1055c26d740148cefdb8d1b90208e424e.zip | |
add sparse matrices to GenSVM and reorganize update functionality
Diffstat (limited to 'include/gensvm_base.h')
| -rw-r--r-- | include/gensvm_base.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gensvm_base.h b/include/gensvm_base.h index 03b7ffa..986e2a5 100644 --- a/include/gensvm_base.h +++ b/include/gensvm_base.h @@ -14,7 +14,7 @@ #define GENSVM_BASE_H // includes -#include "gensvm_globals.h" +#include "gensvm_sparse.h" // type declarations @@ -26,6 +26,7 @@ * @param m number of predictors * @param *y pointer to vector of class labels * @param *Z pointer to augmented data matrix + * @param *spZ pointer to the sparse augmented data matrix * @param *RAW pointer to augmented raw data matrix * @param *J pointer to regularization vector * @param kerneltype kerneltype used in GenData::Z @@ -46,6 +47,8 @@ struct GenData { double *Z; ///< augmented data matrix (either equal to RAW or to the eigenvectors ///< of the kernel matrix) + struct GenSparse *spZ; + ///< sparse representation of the augmented data matrix double *RAW; ///< augmented raw data matrix double *Sigma; |
