aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_types.h
blob: 96b6311c1591438ecc5dbacece79aa962fa25646 (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
31
32
33
/**
 * @file gensvm_types.h
 * @author Gertjan van den Burg
 * @date August, 2013
 * @brief Definitions of common types
 *
 * @details
 * Here common types used throughout the program are defined.
 *
 */

#ifndef GENSVM_TYPES_H
#define GENSVM_TYPES_H

/**
 * @brief type of training used in parameter grid search
 */
typedef enum {
	CV=0, /**< cross validation */
	TT=1  /**< data with existing train/test split */
} TrainType;

/**
 * @brief type of kernel used in training
 */
typedef enum {
	K_LINEAR=0, 	/**< Linear kernel */
	K_POLY=1, 	/**< Polynomial kernel */
	K_RBF=2, 	/**< RBF kernel */
	K_SIGMOID=3,  	/**< Sigmoid kernel */
} KernelType;

#endif