Giter Site home page Giter Site logo

Test the software about dgeclust HOT 5 CLOSED

OrsonMM avatar OrsonMM commented on August 23, 2024
Test the software

from dgeclust.

Comments (5)

dvav avatar dvav commented on August 23, 2024

Dear Orson,

Thank you for your feedback. I just published a release that hopefully fixes the problem.
Please, let me know whether this works for you. Thank you for your interest in DGEclust.

Best wishes,
Dimitris

from dgeclust.

OrsonMM avatar OrsonMM commented on August 23, 2024

Hi Dimitris
Thank you very much for your prompt response. It works well.
But now I have other problem. in other step

$ res, nsamples = compare_groups(data, mdl, group1='4', group2='2')

Starting job # 0 in a separate thread.
/usr/local/lib/python2.7/dist-packages/dgeclust/postprocessing.py:63: RuntimeWarning: invalid value encountered in double_scalars
post = np.sum(p, 0) / nsamples
Traceback (most recent call last):
File "EcoDef2Met.py", line 66, in
main()
File "EcoDef2Met.py", line 59, in main
change(file2)
File "EcoDef2Met.py", line 44, in change
res, nsamples = compare_groups(data, mdl, group1='4', group2='2')
File "/usr/local/lib/python2.7/dist-packages/dgeclust/postprocessing.py", line 66, in compare_groups
tmp = post[ii].cumsum() / np.arange(1, post.size+1)
IndexError: invalid index to scalar variable.

Please help me again !!

from dgeclust.

dvav avatar dvav commented on August 23, 2024

Hi Orson,

Just to clarify: before you call the compare_groups function, do you wait until the simulation has finished? You must have observed that when you call mgr.new(data, mdl), the simulation starts running in the background. You can periodically check its progress by using the plot_progress method of the mdl object. If you call compare_groups before the simulation has actually finished, you 'll get an error.

If the above does not solve your problem, could you please send to me the relevant code chunk to get an idea about how exactly you use the software?

Many thanks...

from dgeclust.

OrsonMM avatar OrsonMM commented on August 23, 2024

Hi Dimitris
Thank´s for your recommendation, it works very well.
Best wishes,
Orson

from dgeclust.

dvav avatar dvav commented on August 23, 2024

Glad to hear that. I will now close this issue. Good luck with your research.

from dgeclust.

Related Issues (4)

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.