- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

# /homes/fmmarquesmadeira/Projects/jabaws/binaries/src/ViennaRNA/H/svm_utils.h

    00001 #ifndef __VIENNA_RNA_PACKAGE_SUBOPT_H__
    00002 #define __VIENNA_RNA_PACKAGE_SUBOPT_H__
    00003
    00004 typedef struct svm_model{
    00005   struct svm_parameter param;
    00006   int nr_class;
    00007   int l;
    00008   struct svm_node **SV;
    00009   double **sv_coef;
    00010   double *rho;
    00011   double *probA;
    00012   double *probB;
    00013   int *label;
    00014   int *nSV;
    00015   int free_sv;
    00016 } svm_model;
    00017
    00018 extern  char *avg_model_string;
    00019 extern  char *sd_model_string;
    00020
    00021 float     get_z(char *sequence,
    00022                 double energy);
    00023 double    avg_regression (int N,
    00024                           int A,
    00025                           int C,
    00026                           int G,
    00027                           int T,
    00028                           struct svm_model *avg_model,
    00029                           int *info );
    00030 double    sd_regression  (int N,
    00031                           int A,
    00032                           int C,
    00033                           int G,
    00034                           int T,
    00035                           struct svm_model  *sd_model);
    00036 double    minimal_sd     (int N,
    00037                           int A,
    00038                           int C,
    00039                           int G,
    00040                           int T);
    00041 svm_model *svm_load_model_string(char *modelString);
    00042 int       *get_seq_composition( short *S,
    00043                                 unsigned int start,
    00044                                 unsigned int stop);
    00045
    00046 #endif