[Biojava-l] Error training SimpleDistribution

Oscar Lopes oscar at vinci.inesc.pt
Tue Jun 3 18:11:45 EDT 2003


Hello!

I get this exception when I try to train a MarkovModel.
I have a few EmissionStates with SimpleDistribution and another few with 
UntrainableDistribution.
When I use UntrainableDistribution in all states, there is no problem.

Can anybody give me a hint??

Thanks in advance

Óscar Lopes

The stacktrace follows:

org.biojava.bio.BioException: Unable to train
        at org.biojava.bio.dp.AbstractTrainer.train(AbstractTrainer.java:92)
        at Trainer.treinarModelo(Trainer.java:52)
        at Trainer.main(Trainer.java:84)
Caused by: org.biojava.utils.ChangeVetoException: This object has been 
locked
        at 
org.biojava.utils.ChangeListener$AlwaysVetoListener.preChange(ChangeListener.java:108)
        at 
org.biojava.utils.ChangeSupport.firePreChangeEvent(ChangeSupport.java:261)
        at 
org.biojava.utils.ChangeForwarder.preChange(ChangeForwarder.java:89)
        at 
org.biojava.utils.ChangeSupport.firePreChangeEvent(ChangeSupport.java:261)
        at 
org.biojava.bio.dist.SimpleDistribution$Trainer.train(SimpleDistribution.java:246)
        at 
org.biojava.bio.dist.SimpleDistributionTrainerContext.train(SimpleDistributionTrainerContext.java:133)
        at org.biojava.bio.dp.AbstractTrainer.train(AbstractTrainer.java:88)
        ... 2 more





More information about the Biojava-l mailing list