|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmarkov.Viterbi
markov.BaumWelsh
public class BaumWelsh
Uses the Forward-Backward procedure to compute states probability for each timestep and allows for learning the model.
Constructor Summary | |
---|---|
BaumWelsh(IFournisseurObservations fournisseur,
IFournisseur modele)
Construit le modèle. |
Method Summary | |
---|---|
void |
apprentissage()
Calcule un nouveau modèle par apprentissage sur les données. |
double[][] |
getAllDistributions()
Recupère les distributions de probabilités de chaque donnée. |
int[] |
getChemin()
Calcule le chemin optimal. |
Methods inherited from class markov.Viterbi |
---|
getFiabilite, getNbDonneesReconnues, getReussite, setModele, setReussite |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaumWelsh(IFournisseurObservations fournisseur, IFournisseur modele)
fournisseur
- un IFournisseurObservations
devant fournir les probabilités d'observations au syst`me.modele
- un IFournisseur
qui fournira les caractèristiques du modèle.Method Detail |
---|
public void apprentissage() throws MarkovException
MarkovException
- si le modèle ne peut être appris.public int[] getChemin() throws MarkovException
getChemin
in interface IReconnaissance
getChemin
in class Viterbi
MarkovException
- si le modèle ne peut être reconnupublic double[][] getAllDistributions() throws MarkovException
getAllDistributions
in class Viterbi
MarcovException
- si le modèle ne peut être reconnu
MarkovException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |