GithubHelp home page GithubHelp logo

Comments (8)

maciejkula avatar maciejkula commented on August 19, 2024

This is due to the fact that rand_r is part of glibc which you are obviously not using.

It may work for you as-is if you use gcc for compilation. Alternatively, I have opened #42 which includes its own rand_r implementation. I obviously cannot use MSVC's impl as that would only compile on Windows!

Having said that, you may run into more problems still with openmp support and so on; I cannot support Windows myself but would be happy to accept changes that make it work on Windows.

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

It would be great if you could check out #42 and see if it solves your problem.

from lightfm.

gglanzani avatar gglanzani commented on August 19, 2024

@maciejkula #42 compiles on my machine. Will keep you posted if I incur into openmp issues

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

Thanks, please let me know if you succeed in using it.

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

Does it work fine?

from lightfm.

gglanzani avatar gglanzani commented on August 19, 2024

Hi Maciej, I'm expecting to have some time on Wednesday afternoon. I promise to let you know by then (like, really promise!)

from lightfm.

gglanzani avatar gglanzani commented on August 19, 2024

@maciejkula Contrary to my promise, I tried it a little earlier (now). It works (i.e. in the example notebook I arrived up until the AUC score, so I guess that's enough to test the openmp).

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

Fantastic, I'll merge my changes and cut a new release.

from lightfm.

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.