aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_io.h
blob: 3f34c1ac10ce8986a88a8c52eac23e2094abd8cf (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

// includes
#include "gensvm_base.h"
#include "gensvm_print.h"
#include "gensvm_strutil.h"

// 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);
void gensvm_time_string(char *buffer);

#endif