p-j-smith / lipyphilic-tutorials Goto Github PK
View Code? Open in Web Editor NEWInteractive tutorials for getting the most out of lipyphilic
License: Creative Commons Attribution Share Alike 4.0 International
Interactive tutorials for getting the most out of lipyphilic
License: Creative Commons Attribution Share Alike 4.0 International
Originally posted by ffavelar July 25, 2023
I'm trying to run the tutorial of the Hidden Markov Model in Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-75-generic x86_64) and Python 3.9.10. I get this output:
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 51/51 [00:01<00:00, 29.28it/s]
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 51/51 [00:01<00:00, 46.18it/s]
0%| | 0/3 [00:00<?, ?it/s]
MultinomialHMM has undergone major changes. The previous version was implementing a CategoricalHMM (a special case of MultinomialHMM). This new implementation follows the standard definition for a Multinomial distribution (e.g. as in https://en.wikipedia.org/wiki/Multinomial_distribution). See these issues for details:
hmmlearn/hmmlearn#335
hmmlearn/hmmlearn#340
0%| | 0/3 [00:00<?, ?it/s]
Traceback (most recent call last):
File "HiddenMarkovModel.py", line 370, in
model = model.fit(
File "/home/jorge/.local/lib/python3.9/site-packages/hmmlearn/base.py", line 469, in fit
self._check()
File "/home/jorge/.local/lib/python3.9/site-packages/hmmlearn/hmm.py", line 907, in check
raise ValueError(
ValueError: emissionprob must have shape (n_components, n_features)
I understand that emissionprob_ does not have the proper shape, but I don't know how to fix the code. Any help will be appreciated.
Describe the bug
A clear and concise description of what the bug is.
i was to rerun the HMM code by use own xtc and tpr files, but it report the error as follow:
To Reproduce
A minimal working example of code to reproduce the unexpected behaviour.
......
Expected behaviour
A clear and concise description of what you expected to happen.
Actual behaviour
Be a specific and detailed as you can. Paste any output or stack traces of errors you receive.
Additional context
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.