Code Monkey home page Code Monkey logo

Comments (8)

fsmaibrgm avatar fsmaibrgm commented on July 17, 2024

Can you join the code in addition to the terminal output ?

from razorback.

Aaron2014 avatar Aaron2014 commented on July 17, 2024

Thank you so much. Here is the script I used.
Survey_study.zip

from razorback.

fsmaibrgm avatar fsmaibrgm commented on July 17, 2024

The problem seems to appears with numpy 1.19.
The computation works fine with numpy 1.18.

I will fix the bug soon.

from razorback.

Aaron2014 avatar Aaron2014 commented on July 17, 2024

Thank you so much. I used Python 3.9 and I see you ran the code on Jupyter. Could this be another possible issue?
I see there is a function called "prefilter", for example, in "utils.py" Line 310. I tried to find where this function is, but didn't find it. I searched online, this is a function of IPython (Jupyter), but not in Python. But I am not fully sure this is an issue and I don't want to mislead you. Again, thank you so much for sharing your wonderful code and for debugging this issue.

from razorback.

fsmaibrgm avatar fsmaibrgm commented on July 17, 2024

Thank you so much. I used Python 3.9 and I see you ran the code on Jupyter. Could this be another possible issue?

Not a problem

I see there is a function called "prefilter", for example, in "utils.py" Line 310. I tried to find where this function is, but didn't find it. I searched online, this is a function of IPython (Jupyter), but not in Python.

Look at line 296, you'll see that prefilter is an argument of the function. So no problem here.

If you want to see the script working before the fix is published, you can pip install numpy==1.18 to switch to the older version of numpy, with which razorback was tested.

Again, a bug fix will come to make razorback works with numpy 1.19+

from razorback.

fsmaibrgm avatar fsmaibrgm commented on July 17, 2024

The new release (0.3.0.5) should fix the problems you found.
Update the library to test it : pip install -U razorback

from razorback.

Aaron2014 avatar Aaron2014 commented on July 17, 2024

Thank you so much. Really appreciate.

from razorback.

fsmaibrgm avatar fsmaibrgm commented on July 17, 2024

I'm closing the issue.
Thanks for the feedback.

Please add a comment here if you think the problem persists.

from razorback.

Related Issues (7)

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.