14#include "properties.hh"
19#include <unordered_map>
21#include <gsl/gsl_multimin.h>
34 train_data(unordered_map<
string, pair<
int, vector<double> > > *samples, unordered_map<string,int> *ref_class,
int numSp);
35 vector<pair<int, vector<double> > > *exon_samples;
36 vector<pair<int, vector<double> > > *intron_samples;
38 double prob_true_false_exons;
39 double prob_true_false_introns;
40 vector<int> exon_feature_idx;
41 vector<int> intron_feature_idx;
42 void set_mean_std(vector<pair<
int, vector<double> > > *samples, vector<int> feature_idx);
46double activation_f(
const gsl_vector *theta, vector<double> *f);
47double get_feature(vector<double> *f,
int i);
48double cross_entropy_error_f(
const gsl_vector *theta,
void *features);
49void cross_entropy_error_df(
const gsl_vector *theta,
void *features, gsl_vector *df);
50void cross_entropy_error_fdf(
const gsl_vector *params,
void *features,
double *f, gsl_vector *df);
51double rob_cross_entropy_error_f(
const gsl_vector *theta,
void *features);
52void rob_cross_entropy_error_df(
const gsl_vector *theta,
void *features, gsl_vector *df);
53void rob_cross_entropy_error_fdf(
const gsl_vector *params,
void *features,
double *f, gsl_vector *df);
55void reference_from_file(unordered_map<string,int> *ref_class);
56void trainFeature_from_file();
57void train_OEscore_params(
int numSpecies);
58void sgd(vector<pair<
int, vector<double> > > *samples, gsl_vector *theta,
int n);
59void gsl_minimizer(vector<pair<
int, vector<double> > > *samples, gsl_vector *theta,
int n);
implementation of logistic regression for training OE and EC feature parameters using GSL
Definition train_logReg_param.hh:31