Git Product home page Git Product logo

Comments (12)

dnouri avatar dnouri commented on August 22, 2024 1

@vsoch @nick-youngblut Just uploaded 0.6.1 to PyPI, containing your changes. Let me know how that works for you.

from nolearn.

nick-youngblut avatar nick-youngblut commented on August 22, 2024

In regards to this, I'm trying to add nolearn to conda-forge, and nolearn depends on the gdbn package, which itself depends on gnumpy, which is py2 only and hasn't been maintained since 2013. Maybe there's a way to remove the gdbn dependency?

from nolearn.

vsoch avatar vsoch commented on August 22, 2024

Hmm, well gnumpy could be modified for Python 3, no? In that the source code is available for gdbn and gnumpy, we might just want to contact the authors and get permission to do so. If you look at the bio here he also recommends using a different library provided by Google, jax.

from nolearn.

vsoch avatar vsoch commented on August 22, 2024

hey @georgedahl! I'm hoping it's okay that we are pinging you here - there is some interest to use nolearn, and the dependencies (gnumpy and gdbn) are not being maintained. Could we talk about some options for moving forward? Here are some ideas:

  • discuss how Jax (you mentioned in your bio) could be used instead of nolearn entirely
  • use an entirely different library for gdbn - it looks like it's providing activation functions, and a build function for a net.
  • create a GitHub release for gdbn that includes a refactored gnumpy updated for Python 3 - update nolearn to use it.
  • something else!

Thanks for your help! I'm not actively using this library, but I'm an RSE at Stanford and many of our researchers might, so I'm happy to help however I can.

from nolearn.

BenjaminBossan avatar BenjaminBossan commented on August 22, 2024

@dnouri AFAICT, gdbn is not required to use nolearn with lasagne. Would it make sense to have a nolearn release that gets rid of the gdbn dependency?

from nolearn.

vsoch avatar vsoch commented on August 22, 2024

There is even commentary in this module to use lasagne, as dbn isn't supported. How about instead of having as an install requires, move to

# Fix this to whatever version is needed
GDBN_REQUIRES = (
    ('gdbn', {'min_version': None}),
)
...
extras_require={
    'gbdn': [GDBN_REQUIRES],
}

Then default install won't include it, but if you do something like pip install nolearn[gdbn] then you can get it.

from nolearn.

dnouri avatar dnouri commented on August 22, 2024

Sorry for the late reply. Do you mind making a pull request that contains your suggested change?

from nolearn.

vsoch avatar vsoch commented on August 22, 2024

Yes I can definitely give it a try!

from nolearn.

vsoch avatar vsoch commented on August 22, 2024

here you go #337

from nolearn.

vsoch avatar vsoch commented on August 22, 2024

I'm good to close this issue if @nick-youngblut is also happy! I am not actively working on the analysis I was previously, but I'll definitely come back and give it a try in the future.

from nolearn.

nick-youngblut avatar nick-youngblut commented on August 22, 2024

I'm also fine with closing the issue

from nolearn.

vsoch avatar vsoch commented on August 22, 2024

Make it so! /insert Picard

from nolearn.

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.