Coder Social home page Coder Social logo

hmsm fit-ghmm about msmbuilder HOT 13 CLOSED

msmbuilder avatar msmbuilder commented on May 22, 2024
hmsm fit-ghmm

from msmbuilder.

Comments (13)

rmcgibbo avatar rmcgibbo commented on May 22, 2024

Did you check top? It's not just running slowly?

from msmbuilder.

cxhernandez avatar cxhernandez commented on May 22, 2024

It was a qsub job that ended without any errors. :-/

from msmbuilder.

rmcgibbo avatar rmcgibbo commented on May 22, 2024

Did you collect both stdout and stderr? Maybe the error only went to stderr?

On Thu, Mar 13, 2014 at 11:05 AM, Carlos Hernández <[email protected]

wrote:

It was a qsub job that ended without any errors. :-/

Reply to this email directly or view it on GitHubhttps://github.com//issues/78#issuecomment-37566735
.

from msmbuilder.

rmcgibbo avatar rmcgibbo commented on May 22, 2024

Maybe you can try fitting on only a subset of the trajectories (like 1) of
them, and just run it on the head node? If that works, we can scale up from
there. If it doesn't, we'll have more info on what's going on.

On Thu, Mar 13, 2014 at 11:14 AM, Robert McGibbon [email protected]:

Did you collect both stdout and stderr? Maybe the error only went to
stderr?

On Thu, Mar 13, 2014 at 11:05 AM, Carlos Hernández <
[email protected]> wrote:

It was a qsub job that ended without any errors. :-/

Reply to this email directly or view it on GitHubhttps://github.com//issues/78#issuecomment-37566735
.

from msmbuilder.

cxhernandez avatar cxhernandez commented on May 22, 2024

Yeah, I did, but stderr was empty. I'll try your suggestion.

from msmbuilder.

rmcgibbo avatar rmcgibbo commented on May 22, 2024

I looked through the code on master again -- nothing jumped out at me.
There are various places where exceptions can be raised, but that'll print
to stderr. If there's a malloc failure inside the e-step, that exit the
interpreter, but it also prints to stderr first.

On Thu, Mar 13, 2014 at 11:18 AM, Carlos Hernández <[email protected]

wrote:

Yeah, I did, but stderr was empty. I'll try your suggestion.

Reply to this email directly or view it on GitHubhttps://github.com//issues/78#issuecomment-37568261
.

from msmbuilder.

cxhernandez avatar cxhernandez commented on May 22, 2024

Okay, running the job interactive, it's at the 3-hour mark and still running according to top, which I take to be a good sign (it stops after about 2 hours on qsub). However I got this warning:

Loading data into memory + vectorization: 3694.696191 s
Fitting with 2177 timeseries from 1287 trajectories with 14722812 total observations
/home/cxh/anaconda/lib/python2.7/site-packages/mixtape/ghmm.py:283: UserWarning: Maximum likelihood reversible transition matrixoptimization failed: ABNORMAL_TERMINATION_IN_LNSRCH
  self.transmat_, self.populations_ = _reversibility.reversible_transmat(counts)

Can I ignore this warning, or will the results be severely affected?

from msmbuilder.

cxhernandez avatar cxhernandez commented on May 22, 2024

new warning, this time self-explanatory:

/home/cxh/anaconda/lib/python2.7/site-packages/mixtape/ghmm.py:283: UserWarning: Maximum likelihood reversible transition matrixoptimization failed: too many function evaluations or too many iterations
  self.transmat_, self.populations_ = _reversibility.reversible_transmat(counts)

from msmbuilder.

rmcgibbo avatar rmcgibbo commented on May 22, 2024

The line search failure is fairly typical, and not catastrophic. I haven't seen the 'too many function evaluations before', but I don't think it's catastrophic either. It basically means that the transition matrix might not be 100% optimized, but it'll still usually be a pretty good solution (near the local minimum, it just didn't quite converge.)

How many states are you using?

from msmbuilder.

cxhernandez avatar cxhernandez commented on May 22, 2024

Around 10 with 8 lag times each

from msmbuilder.

cxhernandez avatar cxhernandez commented on May 22, 2024

To clarify: ten different states (4,5,7,10,12,15,20,25,30,25,40)

from msmbuilder.

rmcgibbo avatar rmcgibbo commented on May 22, 2024

The cost scales with the cube of the number of the states. I haven't actually tried over ~10 states myself. You have a lot of data too. I'm reasonably confident that your calculation is just taking a long time -- not dying unexpectedly.

from msmbuilder.

cxhernandez avatar cxhernandez commented on May 22, 2024

Yeah, it seems like it. But it still doesn't explain why qsub shortchanges my walltime.... I'll go bother the proclus admins then. Thanks Robert!

from msmbuilder.

Related Issues (20)

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.