hanalyze-bayes-0.2.0.1: hanalyze-bayes.cabal
cabal-version: 3.0
name: hanalyze-bayes
version: 0.2.0.1
synopsis: Bayesian layer of hanalyze: HBM DSL, MCMC samplers, model comparison
description:
The Bayesian inference layer of the hanalyze toolkit, depending on
hanalyze-core only (no dataframe), so it can be used as a
standalone sampling library. A free-monad hierarchical Bayesian model DSL
with in-house reverse-mode AD, samplers (NUTS after Hoffman & Gelman 2014,
HMC, Metropolis-Hastings, slice, Gibbs, SMC), variational inference
(ADVI), posterior predictive sampling, and model comparison via bridge
sampling (marginal likelihood, Bayes factors, Bayesian model averaging).
.
Module names match the umbrella package hanalyze, which re-exports
everything, so downstream imports stay identical. See README.md for the
module map and a standalone usage example.
license: BSD-3-Clause
author: Toshiaki Honda
maintainer: frenzieddoll@gmail.com
copyright: 2026 Aelysce Project (Toshiaki Honda)
category: Math, Statistics, Numeric, Machine Learning
build-type: Simple
tested-with: GHC == 9.6.7
extra-source-files:
README.md
README.ja.md
common warnings
ghc-options: -Wall -Wcompat -Widentities -Wredundant-constraints
-- -O2 は分割前と同一 (性能変更と構造変更を混ぜない、 層別 -O 調整は 106.5 後の別 Phase)
common opt
ghc-options: -O2 -funbox-strict-fields
library
import: warnings, opt
hs-source-dirs: src
default-language: GHC2021
exposed-modules:
Hanalyze.MCMC.BayesianTest
Hanalyze.MCMC.Gibbs
Hanalyze.MCMC.HMC
Hanalyze.MCMC.MH
Hanalyze.MCMC.NUTS
Hanalyze.MCMC.Progress
Hanalyze.MCMC.SMC
Hanalyze.MCMC.Slice
Hanalyze.Model.HBM
Hanalyze.Model.HBM.Ast
Hanalyze.Model.HBM.Distribution
Hanalyze.Model.HBM.Eval
Hanalyze.Model.HBM.Gradient
Hanalyze.Model.HBM.IR
Hanalyze.Model.HBM.Interp
Hanalyze.Model.HBM.Model
Hanalyze.Model.HBM.Sampling
Hanalyze.Model.HBM.Track
Hanalyze.Model.HBM.Util
Hanalyze.Model.HBM.VecAD
Hanalyze.Stat.AD
Hanalyze.Stat.BayesFactor
Hanalyze.Stat.BayesianModelAveraging
Hanalyze.Stat.BridgeSampling
Hanalyze.Stat.PosteriorPredictive
Hanalyze.Stat.VI
build-depends:
base >= 4.14 && < 5
, array >= 0.5 && < 0.6
, async >= 2.2 && < 2.3
, containers >= 0.6 && < 0.8
, hmatrix >= 0.20 && < 0.22
, mwc-random >= 0.15 && < 0.16
, primitive >= 0.7 && < 0.10
, deepseq >= 1.4 && < 1.6
, parallel >= 3.2 && < 3.3
, text >= 1.2 && < 2.2
, aeson >= 2.0 && < 2.3
, ad >= 4.4 && < 4.6
, reflection >= 2.1 && < 2.2
, vector >= 0.12 && < 0.14
, hanalyze-core == 0.2.0.1