All,
I am using and testing the HMM module.
In particular, I would like to find a systematic way to define the
number of states.
As I have a a lot of time series ( ~20 000), I would like to make the
adjustment and optimization automatically.
Should I maximize the "score" function depending the number of state
through several candidates that makes senses from a business point of
view ?
Is there's another option that I am currently missing ???
y=[25, 30, 35, 32, 0, 0, 0, 0, 0, 44, 50, 60, 70]
model=hmm.GaussianHMM(3)
print y
a=np.array(y)
b=a[:,np.newaxis]
model.fit([b])
#========================
print model.score(b)
#========================
Best Regards
Didier
This e-mail is intended solely for the addressee, is strictly confidential and
may also be legally privileged. If you are not the addressee please do not
read, print, re-transmit, store or act in reliance on it or any attachments.
Instead, please email it back to the sender and then immediately permanently
delete it. E-mail communications cannot be guaranteed to be secure or error
free, as information could be intercepted, corrupted, amended, lost, destroyed,
arrive late or incomplete, or contain viruses. We do not accept liability for
any such matters or their consequences. Anyone who communicates with us by
e-mail is taken to accept the risks in doing so. Opinions, conclusions and
other information in this e-mail and any attachments are solely those of the
author and do not represent those of CapQuest Group Limited or any of its
subsidiaries unless otherwise stated. CapQuest Group Limited (registered number
4936030), CapQuest Debt Recovery Limited (registered number 3772278), CapQuest
Investments Limited (registered number 5245825), CapQuest Asset Management
Limited (registered number 5245829) and CapQuest Mortgage Servicing Limited
(registered number 05821008) are all limited companies registered in England
and Wales with their registered offices at Fleet 27, Rye Close, Fleet,
Hampshire, GU51 2QQ. Each company is a separate and independent legal entity.
None of the companies have any liability for each other's acts or omissions.
This communication is from the company named in the sender's details above.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general