blob: 21efc2f818f0069c778d17bfbeacf3f37d6dea21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef LIBMSVMMAJ_H
#define LIBMSVMMAJ_H
#include "globals.h"
// forward declarations
struct MajData;
struct MajModel;
// function declarations
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_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_initialize_weights(struct MajData *data, struct MajModel *model);
#endif
|