blob: 3ac5fa96303d73b6d9d26969b92cb129d5bd0426 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/**
* @file crossval.h
* @author Gertjan van den Burg
* @date January, 2014
* @brief Header file for crossval.c
*
* @details
* Contains function declarations for functions needed for performing cross
* validation on GenData structures.
*
*/
#ifndef GENSVM_CROSSVAL_H
#define GENSVM_CROSSVAL_H
// forward delaration
struct GenData;
void gensvm_make_cv_split(long N, long folds, long *cv_idx);
void gensvm_get_tt_split(struct GenData *full_data, struct GenData *train_data,
struct GenData *test_data, long *cv_idx, long fold_idx);
#endif
|