[Biojava-dev] Relations between DistributionTrainer and TrainigAlgorithm and so on...

Oscar Lopes oscar at gauss.inesc.pt
Wed Feb 26 19:35:23 EST 2003


Hi!

I'm a graduate student, working with HMM's. It has been decided to use 
biojava in my thesis work.
One of my tasks is to program Viterbi training algorithm, but 
unfortunatly I found difficult to understand the
relations between DistributionTrainer, DistributionTrainerContext, 
TrainigAlgorithm, AbstractTrainer, etc.

My main problem is to count the occurence of two simultaneous symbols. 
The addCount() method in
ModelTrainer, DistributionTrainer and DistributionTrainerContext only 
allows one symbol.
So the question is, is there any kind of interface that I can use? 
Should I define a new one?
It would be preferable to use the work already done instead of building 
everything by myself.

By the way, is there any tutorial about the dp package?
The demos and api doc didn't helped very much in my problem.

Thanks in advance.

        Óscar Lopes




More information about the biojava-dev mailing list