From 75a91a963c979b0d657b8839036cd82f6ae5f24b Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 2 Jul 2014 17:09:38 +0200 Subject: seed V based on scale of X --- include/libMSVMMaj.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libMSVMMaj.h b/include/libMSVMMaj.h index b7261dc..a9bd789 100644 --- a/include/libMSVMMaj.h +++ b/include/libMSVMMaj.h @@ -29,12 +29,14 @@ void msvmmaj_simplex_gen(long K, double *U); void msvmmaj_category_matrix(struct MajModel *model, struct MajData *data); void msvmmaj_simplex_diff(struct MajModel *model, struct MajData *dataset); -void msvmmaj_calculate_errors(struct MajModel *model, struct MajData *data, double *ZV); +void msvmmaj_calculate_errors(struct MajModel *model, struct MajData *data, + double *ZV); void msvmmaj_calculate_huber(struct MajModel *model); void msvmmaj_step_doubling(struct MajModel *model); -void msvmmaj_seed_model_V(struct MajModel *from_model, struct MajModel *to_model); +void msvmmaj_seed_model_V(struct MajModel *from_model, + struct MajModel *to_model, struct MajData *data); void msvmmaj_initialize_weights(struct MajData *data, struct MajModel *model); #endif -- cgit v1.2.3