From 1e340d509f229120eb3aaa98c91028dc3c0d3305 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 25 Aug 2014 14:38:03 +0200 Subject: rename msvmmaj to gensvm --- include/gensvm_io.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/gensvm_io.h (limited to 'include/gensvm_io.h') diff --git a/include/gensvm_io.h b/include/gensvm_io.h new file mode 100644 index 0000000..35b6a5a --- /dev/null +++ b/include/gensvm_io.h @@ -0,0 +1,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 -- cgit v1.2.3