Giter Site home page Giter Site logo

Comments (6)

neoneye avatar neoneye commented on July 17, 2024 1

Thanks for fixing this. Much appreciated.

Here is my commit where I migrate to the newest linfa version. It was really tricky. I had a wrong assumption about Cargo.toml, when specifying version="*", that the newest version would be used, but instead I ended up with a mix of both the newest linfa and an older linfa, causing weird error messages. These were the versions I had:

  • linfa = 0.7.0
  • linfa-logistic = *, which resolved to version 0.6.1
  • linfa-preprocessing = *, which resolved to version 0.6.1

Setting the same version for all the linfa packages, and now it compiles fine. Had I done that from the beginning, then it would have been easy to fix.

from linfa.

IbrahimBagalwa avatar IbrahimBagalwa commented on July 17, 2024

Hello @YuhanLiin
I'm interested in contributing to this open source project. However, I'm not entirely clear on what this issue entails and would greatly appreciate some clarification.

Could you please provide me with more information about the issue and what specifically needs to be done to resolve it? I'm eager to learn and contribute in any way I can.
thank you

from linfa.

YuhanLiin avatar YuhanLiin commented on July 17, 2024

So linfa-ftrl and linfa-logistic both depend on argmin 0.4.6 and linfa-linear has argmin 0.7. I'd like the argmin version on all three crates to be bumped up to 0.8, and argmin-math should be bumped to 0.3. The change should be trivial on linfa-linear, but will be more involved on linfa-logistic and linfa-ctrl, since they require code changes. You can refer to #289, which bumped argmin in linfa-linear to 0.7, for guidance on what to change in the other two crates.

The reason why I want to upgrade argmin is because newer versions of argmin have serde as an optional dependency, whereas serde was mandatory in older versions. This in turn allows linfa-ftrl and linfa-logistic to have serde as optional, which is consistent with the other Linfa crates. Again, you can refer to #289, which also made serde optional in linfa-linear.

from linfa.

stefan-k avatar stefan-k commented on July 17, 2024

I planned to update linfa-ftrl and linfa-logistic as well but unfortunately I won't be able get to it anytime soon. I may however be able to provide guidance and help if needed. Feel free to ping me if there is anything I may be able to help you with.

If I recall correctly, the changes necessary in linfa-ftrl should be fairly similar to the ones made in linfa-linear. I think linfa-logistic may be a bit more complicated.

from linfa.

JadenMajid avatar JadenMajid commented on July 17, 2024

Hi can I be assigned this issue? I've already got linfa-linear to work, and started to work on linfa-logistic, but it seems like argmin massively changed its trait structure and no longer has directly declared operators(ArgminSub,ArgminAdd, etc.). There is the Operator trait that might be relevant? but I'm not sure how to propagate it and if it would break things. I'm new to Rust but want to help!
Thanks!

from linfa.

JadenMajid avatar JadenMajid commented on July 17, 2024

whoops, looks like I got ahead of myself, I didn't get linfa-linear working, sorry about that

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.