diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2014-07-02 17:09:38 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2014-07-02 17:09:38 +0200 |
| commit | 75a91a963c979b0d657b8839036cd82f6ae5f24b (patch) | |
| tree | 1fd14e14d6cf0e877c07ecc95258e3968460cc0a /include | |
| parent | set element of category matrix to zero explicitly, not calloced (diff) | |
| download | gensvm-75a91a963c979b0d657b8839036cd82f6ae5f24b.tar.gz gensvm-75a91a963c979b0d657b8839036cd82f6ae5f24b.zip | |
seed V based on scale of X
Diffstat (limited to 'include')
| -rw-r--r-- | include/libMSVMMaj.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |
