Hi Alexey.
Sorry about the state of the HMMs. We will probably remove them from
sklearn pretty soon, giving them their own repo.
Still, adding to the documentation should help make the code more useful.
You can simply create a pull request:
http://scikit-learn.org/dev/developers/index.html
Sorry I can't be of more help.
Andy
On 02/05/2014 08:29 AM, Alexey Morozov wrote:
I've run into some difficulties with hmm.GaussianHMM recently, and I
assume it's because of poorly documented element shapes.
Say, I want an HMM with 2 hidden states that emit 1-dimensional
variables. Should means be np.array([300,-300]) or
np.array([[300],[300]])? Should observation sequence be [observation1,
observation2, ... , observationN] or [[observation1],[observation2],
... ]? Probably both times second answer is correct (first just
refuses to run Viterbi), but I'd like someone to explain it to me.
And how do I help with documenting, if I manage to understand this?
Best regards,
--
Alexey Morozov,
LIN SB RAS, bioinformatics group.
Irkutsk, Russia.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general