GithubHelp home page GithubHelp logo

p-j-smith / lipyphilic-tutorials Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 4.0 119 MB

Interactive tutorials for getting the most out of lipyphilic

License: Creative Commons Attribution Share Alike 4.0 International

Jupyter Notebook 100.00%

lipyphilic-tutorials's Introduction

Binder CC BY 4.0

lipyphilic tutorials

Interactive tutorials for getting the most out of lipyphilic

lipyphilic-tutorials's People

Contributors

p-j-smith avatar

Stargazers

 avatar  avatar

Watchers

 avatar

lipyphilic-tutorials's Issues

Study Hidden Markov Models (HMM) error

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:

image

To Reproduce
A minimal working example of code to reproduce the unexpected behaviour.
image
......
image

Expected behaviour
A clear and concise description of what you expected to happen.
image

Actual behaviour
Be a specific and detailed as you can. Paste any output or stack traces of errors you receive.
image

Additional context

  • Which version of lipyphilic are you using?
  • Which version of Python are you using?
    -python=3.9
  • Which OS are you using?

Error with HMM analysis

Discussed in p-j-smith/lipyphilic#117

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.