Coder Social home page Coder Social logo

Update to ndarray 0.14 about linfa HOT 6 CLOSED

rust-ml avatar rust-ml commented on July 30, 2024
Update to ndarray 0.14

from linfa.

Comments (6)

bytesnake avatar bytesnake commented on July 30, 2024

thanks for tackling this, last time I looked ndarray-stats still used the old ndarray version

from linfa.

bytesnake avatar bytesnake commented on July 30, 2024

but it isn't anymore, version 0.4.0 is already published on crates.io!

from linfa.

relf avatar relf commented on July 30, 2024

ah yes! 🤦 what did I check?

from linfa.

quietlychris avatar quietlychris commented on July 30, 2024

@relf As of two days ago (March 25) it actually looks like ndarray has bumped its version up from 0.14 to 0.15. I'm not sure how many breaking chances are actually between the two, but I think if you're planning on updating the version up from 0.13 anyway, it might make sense to jump all the way up (assuming that there's no major issues in the 0.15.0).

from linfa.

relf avatar relf commented on July 30, 2024

Yep, I haven't dived in but it seems there are more changes from 0.14 to 0.15 than from 0.13 to 0.14.

That said, I think linfa should have at least a minor release for each minor release of ndarray (here we could have linfa 0.4 with ndarray 0.14) because upgrading ndarray is not that easy due to the dependencies.

I do not know how cargo handles several versions of the same crate but I experienced compilation problems when there are various versions of ndarray pulled by various dependencies. And finally I waited for that all dependencies upgraded to ndarray 0.14 before making this PR.

Unfortunately, the sprs issue is blocking right now, and I do not know what is the best course of actions. I picked the revision sparsemat/sprs@761d4f0 where sprs upgraded to ndarray 0.14 to make this PR compile. Should we wait for the issue resolution (which would be the same with ndarray 0.15 anyway) or could we publish a linfa 0.4 based on this?

from linfa.

relf avatar relf commented on July 30, 2024

fixed by #110

from linfa.

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.