Coder Social home page Coder Social logo

about the d z_tilde / d logits about relax HOT 7 OPEN

thudzj avatar thudzj commented on August 14, 2024
about the d z_tilde / d logits

from relax.

Comments (7)

sdrobert avatar sdrobert commented on August 14, 2024

@wgrathwohl I think @thudzj is right, and I've made a slight mistake in my implementation. If you think so, too, I'd be happy to make a PR with the change.

Sorry and thanks!

from relax.

agadetsky avatar agadetsky commented on August 14, 2024

@sdrobert did you make a PR?

from relax.

sdrobert avatar sdrobert commented on August 14, 2024

@agadetsky I've just submitted the PR. AFAICT it's working well now and converges a bit faster. Please note that the pytorch implementation was all my doing and thus the bug is entirely my fault. Sorry for the trouble.

Though I've included the concrete relaxation as preprocessing z and z_tilde in the RELAX estimator because every other source in the repository does this, it is not integral to RELAX. Consider removing sig_z and sig_z_tilde from the implementation, depending on whether you converge more quickly with it.

A quick plug: I've since written up RELAX and other estimators in pydrobert-pytorch. The interface is much more flexible, there's support for categorical variables, and I've written multiple tests to verify the integrity of the estimators. The package is available through PyPI and Conda.

from relax.

agadetsky avatar agadetsky commented on August 14, 2024

@sdrobert Thank you very much! Do you have any examples for using pydrobert-pytorch?

from relax.

agadetsky avatar agadetsky commented on August 14, 2024

@sdrobert If you have any example training RELAX using your library can you share it?

from relax.

sdrobert avatar sdrobert commented on August 14, 2024

@agadetsky A cookbook is definitely on my to-do list. Currently, I'm adding more functionality according to the experimentation I'm doing. The best you'll get right now are in my unit tests:
here and here.

from relax.

agadetsky avatar agadetsky commented on August 14, 2024

@sdrobert I get it, thank you, I think it will be enough.

from relax.

Related Issues (4)

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.