On Thursday, January 7, 2016 at 5:06:07 PM UTC-5, Steven D'Aprano wrote:
> On Fri, 8 Jan 2016 04:23 am, Robert wrote:
> 
> > Hi,
> > 
> > I am using a download package. When I read its code, see below please, I
> > don't know what 'sample' is:
> > 
> > 
> > ----------
> > model = hmm.GaussianHMM(n_components=4, covariance_type="full")
> 
> 
> When I try running that code, I get an error:
> 
> 
> py> model = hmm.GaussianHMM(n_components=4, covariance_type="full")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'hmm' is not defined
> 
> What's hmm? Where does it come from? Is it this?
> 
> https://hmmlearn.github.io/hmmlearn/generated/hmmlearn.hmm.GaussianHMM.html
> 
> It has a sample method here:
> 
> https://hmmlearn.github.io/hmmlearn/generated/hmmlearn.hmm.GaussianHMM.html#hmmlearn.hmm.GaussianHMM.sample
> 
> 
> You should try googling for help before asking questions:
> 
> https://duckduckgo.com/html/?q=hmm.GaussianHMM
> 
> or use the search engine of your choice.
> 
> 
> -- 
> Steven

Thanks. I just realized that my list assumption was wrong. I got that 
conclusion was incorrect.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to