aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_base.h
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2016-09-30 20:22:18 +0200
committerGertjan van den Burg <burg@ese.eur.nl>2016-09-30 20:22:18 +0200
commit369fd7c981bc468e9002be6f4813e08664413a81 (patch)
tree37312074e6dabb06b1375f298666a7fe63a78237 /include/gensvm_base.h
parentremove unnecessary W and t matrices (diff)
downloadgensvm-369fd7c981bc468e9002be6f4813e08664413a81.tar.gz
gensvm-369fd7c981bc468e9002be6f4813e08664413a81.zip
Remove category matrix from implementation
It's a remnant from the Matlab implementation, where it actually makes sense to use. Here it becomes a significant memory burden for large datasets, and doesn't provide any speedup
Diffstat (limited to 'include/gensvm_base.h')
-rw-r--r--include/gensvm_base.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gensvm_base.h b/include/gensvm_base.h
index ded0149..390a9b6 100644
--- a/include/gensvm_base.h
+++ b/include/gensvm_base.h
@@ -87,9 +87,6 @@ struct GenModel {
///< error matrix
double *H;
///< Huber weighted error matrix
- double *R;
- ///< 0-1 auixiliary matrix, this matrix is n x K, with for row i a 0 on
- ///< column y[i]-1, and 1 everywhere else.
double *rho;
///< vector of instance weights
double training_error;