GenSVM
gensvm_consistency.h
Go to the documentation of this file.
1 
27 #ifndef GENSVM_CONSISTENCY_H
28 #define GENSVM_CONSISTENCY_H
29 
30 // includes
31 #include "gensvm_queue.h"
32 #include "gensvm_print.h"
33 #include "gensvm_cv_util.h"
35 #include "gensvm_timer.h"
36 
37 // function declarations
38 struct GenQueue *gensvm_top_queue(struct GenQueue *q, double percentile);
39 int gensvm_dsort(const void *elem1, const void *elem2);
40 void gensvm_consistency_repeats(struct GenQueue *q, long repeats,
41  double percentile);
42 double gensvm_percentile(double *values, long N, double p);
43 
44 #endif
long N
size of task array
Definition: gensvm_queue.h:50
double gensvm_percentile(double *values, long N, double p)
Calculate the percentile of an array of doubles.
struct GenQueue * gensvm_top_queue(struct GenQueue *q, double percentile)
Create GenQueue of tasks with performance above a given percentile.
Simple task queue.
Definition: gensvm_queue.h:47
void gensvm_consistency_repeats(struct GenQueue *q, long repeats, double percentile)
Run repeats of the GenTask structs in GenQueue to find the best configuration.
int gensvm_dsort(const void *elem1, const void *elem2)
Comparison function for doubl.
Header file for gensvm_timer.c.
Header file for gensvm_queue.c.
Header file for gensvm_cross_validation.c.
Header file for gensvm_print.c.
Header file for gensvm_cv_util.c.