Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 packages from igarnier/prbnmcn-dagger at 0.0.4 #24390

Merged

Conversation

igarnier
Copy link
Contributor

@igarnier igarnier commented Sep 9, 2023

This pull-request concerns:

  • prbnmcn-dagger.0.0.4: Probabilistic programming library
  • prbnmcn-dagger-gsl.0.0.4: Probabilistic programming library: GSL-based samplers
  • prbnmcn-dagger-stats.0.0.4: Probabilistic programming library: prbnmcn-stats-based samplers
  • prbnmcn-dagger-test.0.0.4: Probabilistic programming library: tests


0.0.4

  • smc: domainslib-based multicore implementation
  • bugfix: Smc_inference.run_custom spawned too many particles
  • fix implicit deps (@zapashcanon)

0.0.3

API changes

  • smc: provide API for programmable resampling (review by @nilsbecker, many thanks!)
  • gsl_dist: functorize over GSL signature
    • band-aid for unavailability of gsl package in ocaml 5
    • since explicit dependency on gsl is dropped, relicensed to MIT

code quality/bug fixes

  • smc: much improved documentation (report and review by @nilsbecker)
  • removed uses of Obj.magic
  • bugfix: properly handle terminated particles in smc
    • terminated particles now continue to participate in resampling events
  • bugfix: Smc.fork off-by-one corrected
  • bugfix: Cps_monad.map_array reversed order of elements

misc

  • added gamma distribution to stats_dist
  • added kalman filter example
  • added polynomial regression example
  • added approximate bayesian computation example
  • more tests

0.0.2

  • Dependency: prbnmcn-stats.0.0.3 -> prbnmcn-stats.0.0.4
  • Add beta distribution to Gsl samplers
  • Refactor Cps monad
  • Add SMC inference
  • Simplify handler type, modularize effect definitions away from Cps_monad
  • Fix typo: bernouilli -> bernoulli (report by @nilsbecker)

0.0.1

  • First release of prbnmcn-dagger, a library for probabilistic programming

馃惈 Pull-request generated by opam-publish v2.2.0

@igarnier igarnier force-pushed the opam-publish-prbnmcn-dagger.0.0.4 branch 2 times, most recently from 6e47d45 to e4e43f1 Compare September 11, 2023 06:56
@igarnier
Copy link
Contributor Author

Is there a way to restrict a package to 64 bit archs?

@igarnier igarnier force-pushed the opam-publish-prbnmcn-dagger.0.0.4 branch 2 times, most recently from 46ce636 to b60a2b8 Compare September 12, 2023 19:14
@zapashcanon
Copy link
Contributor

@igarnier with something like:

available: arch = "x86_64" | arch = "arm64"

it should be enough. I'm not sure about all the 64bits architectures supported by opam, so you should check the manual to get the full list.

@igarnier
Copy link
Contributor Author

@igarnier with something like:

available: arch = "x86_64" | arch = "arm64"

it should be enough. I'm not sure about all the 64bits architectures supported by opam, so you should check the manual to get the full list.

Ok. I'll first have a go at fixing the offending literal then, it seems less hackish.

@igarnier igarnier force-pushed the opam-publish-prbnmcn-dagger.0.0.4 branch from b60a2b8 to 3192514 Compare September 12, 2023 20:01
@igarnier igarnier force-pushed the opam-publish-prbnmcn-dagger.0.0.4 branch from 3192514 to 00c0cde Compare September 12, 2023 20:17
"domainslib" {>= "0.5"}
"prbnmcn-cgrph" {= "0.0.2"}
"odoc" {with-doc}
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
]
]
conflicts: ["ocaml-option-bytecode-only"]

This will restrict the package to 64-bit architectures only by only allowing it to compile on native code architecturs, since there are no native code 32-bit architectures on OCaml 5.0.0+

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know, thanks!

@kit-ty-kate
Copy link
Member

Thanks

@kit-ty-kate kit-ty-kate merged commit c3c61cf into ocaml:master Sep 13, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants