Giter Club home page Giter Club logo

Comments (7)

loli avatar loli commented on July 18, 2024 1

Indeed, another helping hand would be very welcome. Tanks for the offer, I've dropped you an invite.

from medpy.

harshamarupudi56 avatar harshamarupudi56 commented on July 18, 2024

I had this issue as well when using metrics such as dice and jaccard. Had to write my own functions to address this. Just have to replace np.bool with bool.

from medpy.

loli avatar loli commented on July 18, 2024

Hey, thanks for the feedback!

I'll try to squeeze in another release till the end of the year - quite a lot of work, though. Can't promise anything, unfortunately.

If any of you would be willing to make a PR out of your fixes for this depreciation warning, I would include it. Thanks!

from medpy.

harshamarupudi56 avatar harshamarupudi56 commented on July 18, 2024

I wrote my own function for dice and jaccard calculation rather than what you had in the binary folder. Your code should work if you swap np.bool with bool. I can share my functions if you are interested however.

from medpy.

StellarStorm avatar StellarStorm commented on July 18, 2024

@loli PR #113 should address this! I mapped numpy.float -> float, numpy.int -> int, and numpy.bool -> numpy.bool_. Specific precision types like numpy.float32 were not changed as these aren't deprecated and I didn't want to change any behavior inadvertently. Similarly I used numpy.bool_ instead of bool to keep things in numpy as much as possible - this probably wouldn't make a difference but better to be safe.

from medpy.

StellarStorm avatar StellarStorm commented on July 18, 2024

@loli would you be open to adding additional maintainers to the project? I feel we could get through the open PRs and a lot of the issues decently quickly.

from medpy.

StellarStorm avatar StellarStorm commented on July 18, 2024

@captainjtx thank you for the report! This should be fixed in #113
Until a new release is out, you can install the latest version with pip install git+https://github.com/loli/medpy.git

from medpy.

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.