blob: 73c24bd6c08f0de308385fe069eccdc5e3ab8202 (
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
30
|
/**
* @file gensvm_io.h
* @author Gertjan van den Burg
* @date January, 2014
* @brief Header files for gensvm_io.c
*
* @details
* Function declarations for input/output functions.
*
*/
#ifndef GENSVM_IO_H
#define GENSVM_IO_H
#include "globals.h"
// forward declarations
struct GenData;
struct GenModel;
// function declarations
void gensvm_read_data(struct GenData *dataset, char *data_file);
void gensvm_read_model(struct GenModel *model, char *model_filename);
void gensvm_write_model(struct GenModel *model, char *output_filename);
void gensvm_write_predictions(struct GenData *data, long *predy,
char *output_filename);
#endif
|