aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_predict.h
blob: 1787631f6fdf8b919ed33d8d8d913761d3716652 (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_predict.h
 * @author Gertjan van den Burg
 * @date August, 2013
 * @brief Header file for gensvm_predict.c
 *
 * @details
 * Contains function declarations for prediction functions.
 *
 */

#ifndef GENSVM_PREDICT_H
#define GENSVM_PREDICT_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