51 BaumWelch(
int k,
int numFrames,
int modelTypes = 2){
53 this->numFrames = numFrames;
54 this->modelTypes = modelTypes;
56 modelTypeProbs = NULL;
60 void initialTypeParameters(
Double patpseudocount = 0.0);
61 void initialRandomParameters();
63 void initialIntronTrainingData(
const Gene* geneList);
64 void classifyTrainingData();
69 delete modelTypeProbs;
70 modelTypeProbs = NULL;
75 if (this->inputSeqs) {
78 this->inputSeqs = inputSeqs;
81 void printAllContentModels(ostream &out);
82 void readAllContentModels(istream &in);
83 void printInputSeqs(ostream &out);
86 int getK() {
return k;}
87 int getModelTypes() {
return modelTypes;}
88 int getNumFrames() {
return numFrames;}
89 Double getModelTypeProb(
int i) {
return (*modelTypeProbs)[i];}
108 vector<ContentModel> *models;
109 vector<Double> *modelTypeProbs;
Model typical sequences by pattern frequencies.
Definition contentmodel.hh:28