diff options
Diffstat (limited to 'include/gensvm_pred.h')
| -rw-r--r-- | include/gensvm_pred.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/gensvm_pred.h b/include/gensvm_pred.h new file mode 100644 index 0000000..0cce20b --- /dev/null +++ b/include/gensvm_pred.h @@ -0,0 +1,32 @@ +/** + * @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 + +#include "globals.h" + +// forward declarations +struct GenData; +struct GenModel; + +// function declarations +void gensvm_predict_labels(struct GenData *data_test, + struct GenData *data_train, struct GenModel *model, + long *predy); +void gensvm_predict_labels_linear(struct GenData *data, + struct GenModel *model, long *predy); +void gensvm_predict_labels_kernel(struct GenData *data_test, + struct GenData *data_train, struct GenModel *model, + long *predy); +double gensvm_prediction_perf(struct GenData *data, long *perdy); + +#endif |
