blob: 12a59eb733884c857f30f83419844d3a28a6e2e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/**
* @file gensvm_pred.h
* @author Gertjan van den Burg
* @date August, 2013
* @brief Header file for gensvm_pred.c
*
* @details
* Contains function declarations for prediction functions.
*
*/
#ifndef GENSVM_PRED_H
#define GENSVM_PRED_H
// includes
#include "gensvm_kernel.h"
#include "gensvm_simplex.h"
#include "gensvm_zv.h"
// function declarations
void gensvm_predict_labels(struct GenData *testdata,
struct GenModel *model, long *predy);
void gensvm_predict_labels_dense(struct GenData *testdata,
struct GenModel *model, long *predy);
void gensvm_predict_labels_sparse(struct GenData *testdata,
struct GenModel *model, long *predy);
double gensvm_prediction_perf(struct GenData *data, long *perdy);
#endif
|