adcomp VS pynixify

Compare adcomp vs pynixify and see what are their differences.

adcomp

AD computation with Template Model Builder (TMB) (by kaskr)

pynixify

Nix expression generator for Python projects (by cript0nauta)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
adcomp pynixify
2 1
164 62
- -
7.9 3.9
25 days ago 10 months ago
C++ Python
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

adcomp

Posts with mentions or reviews of adcomp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-05.
  • Nix: Taming Unix with Functional Programming
    18 projects | news.ycombinator.com | 5 Aug 2022
    Are any of your R users TMB users? Because I ran into that in multiple setups (Guix SD and Guix on foreign distros) where only a specific ordering worked even when using guix shell --pure. This was back in the R 4.1.2 days. In theory it should be impossible and yet I ran into it. No I was not mixing packages installed via. install.packages.

    Right now with the latest version of Guix and R 4.2.1 TMB is not usable. Try running:

    "guix shell --container r r-tmb make gcc-toolchain gfortran-toolchain"

    then try running the linreg.R (with the corresponding cpp file, or any of the examples) example from https://github.com/kaskr/adcomp/tree/master/tmb_examples

  • Useful Algorithms That Are Not Optimized by Jax, PyTorch, or TensorFlow
    2 projects | news.ycombinator.com | 22 Jul 2021
    There is no free lunch:).

    I remember spending a summer using Template Model Builder (TMB), which is a useful R/C++ automatic differentiation (AD) framework, for working with accelerated failure time models. For these models, the survival to time T given covariates X is defined by S(t|X) = P(T>t|X) = S_0(t exp(-beta^T X)) for baseline survival S_0(t). I wanted to use splines for the baseline survival and then use AD for gradients and random effects. Unfortunately, after implementing the splines in template C++, I found a web page entitled "Things you should NOT do in TMB" (https://github.com/kaskr/adcomp/wiki/Things-you-should-NOT-d...) - which included using if statements that are based on coefficients. In this case, the splines for S_0 depend on beta, which is this specific excluded case:(. An older framework (ADMB) did not have this constraint, but dissemination of code was more difficult. Finally, PyTorch did not have an implementation of B-splines or an implementation for Laplace's approximation. Returning to my opening comment, there is no free lunch.

pynixify

Posts with mentions or reviews of pynixify. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-05.
  • Nix: Taming Unix with Functional Programming
    18 projects | news.ycombinator.com | 5 Aug 2022
    There are some sifferent/new tools for adding your own Python packages these days. It's still not truly solved, but one of these new package generation tools might serve your better:

    poetry2nix: https://github.com/nix-community/poetry2nix

    dream2nix: https://nix-community.github.io/dream2nix/guides/getting-sta...

    mach-nix: https://github.com/DavHau/mach-nix

    pip2nix: https://github.com/nix-community/pip2nix

    pynixify: https://github.com/cript0nauta/pynixify

    The tools available to you at the time (pypi2nix and maybe python2nix, if it was a long time ago) have been abandoned in favor of the newer tools, I think chiefly poetry2nix but I'm not sure.

    There's still the Nixpkgs buildPythonPackage stuff, I think, if your goal is to upstream a lib into Nixpkgs. But if you just want to build your own Python applications and vendorize the deps (e.g., for work), you might try one of the tools above, which weren't available 3+ years ago. Maybe Nixy Python users and developers can reply with some of their experiences using those tools :)

What are some alternatives?

When comparing adcomp and pynixify you can also consider the following projects:

std - A DevOps framework for the SDLC with the power of Nix and Flakes. Good for keeping deadlines!

mach-nix - Create highly reproducible python environments

hydra - Hydra, the Nix-based continuous build system

deploy-rs - A simple multi-profile Nix-flake deploy tool.

boostrap - my personal ricing setup (WIP)

pip2nix - Freeze pip-installable packages into Nix expressions [maintainer=@datakurre]