Replace Progs/RNAalifold with x64 binary and add all other programs
[jabaws.git] / binaries / src / ViennaRNA / H / svm_utils.h
1 #ifndef __VIENNA_RNA_PACKAGE_SUBOPT_H__
2 #define __VIENNA_RNA_PACKAGE_SUBOPT_H__
3
4 typedef struct svm_model{
5   struct svm_parameter param;
6   int nr_class;
7   int l;
8   struct svm_node **SV;
9   double **sv_coef;
10   double *rho;
11   double *probA;
12   double *probB;
13   int *label;
14   int *nSV;
15   int free_sv;
16 } svm_model;
17
18 extern  char *avg_model_string;
19 extern  char *sd_model_string;
20
21 float     get_z(char *sequence,
22                 double energy);
23 double    avg_regression (int N,
24                           int A,
25                           int C,
26                           int G,
27                           int T,
28                           struct svm_model *avg_model,
29                           int *info );
30 double    sd_regression  (int N,
31                           int A,
32                           int C,
33                           int G,
34                           int T,
35                           struct svm_model  *sd_model);
36 double    minimal_sd     (int N,
37                           int A,
38                           int C,
39                           int G,
40                           int T);
41 svm_model *svm_load_model_string(char *modelString);
42 int       *get_seq_composition( short *S,
43                                 unsigned int start,
44                                 unsigned int stop);
45
46 #endif