packages feed

hanalyze-viz-0.2.0.1: hanalyze-viz.cabal

cabal-version: 3.0
name:          hanalyze-viz
version:       0.2.0.1
synopsis:      Vega-Lite visualization and HTML report layer of hanalyze
description:
    The visualization and reporting layer of the hanalyze toolkit. It
    turns analysis results into Vega-Lite specs and emits them either as
    single figures (HTML / PNG / SVG) -- scatter plots with regression,
    smoother and confidence bands, bar charts, histograms with theoretical
    densities, MCMC diagnostics (trace, posterior density, autocorrelation,
    forest, energy), Gaussian-process bands, Pareto fronts and model DAGs in
    Mermaid or Graphviz form -- or as composed HTML reports built from
    ReportSection values, covering data overviews, coefficients, residuals,
    MCMC diagnostics, model comparison and interactive prediction.
    .
    Module names match the umbrella package hanalyze, which re-exports
    everything, so downstream imports stay identical. For static SVG / PDF /
    PNG rendering see hanalyze-plot instead. 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

-- Phase 108: viz 層は -O1 (report/chart 生成は ms オーダー one-shot で -O2 の
-- 実行性能価値なし、build 短縮を優先。実測 = bench/results/phase108/)。
-- -O1 は cabal 既定のため明示しない (明示 -O は Hackage の cabal check が reject)
common opt
  ghc-options: -funbox-strict-fields

library
  import:           warnings, opt
  hs-source-dirs:   src
  default-language: GHC2021
  exposed-modules:
    Hanalyze.Viz.AnalysisReport
    Hanalyze.Viz.Assets
    Hanalyze.Viz.Bar
    Hanalyze.Viz.Core
    Hanalyze.Viz.GP
    Hanalyze.Viz.GPReport
    Hanalyze.Viz.Histogram
    Hanalyze.Viz.MCMC
    Hanalyze.Viz.ModelGraph
    Hanalyze.Viz.ModelGraphDot
    Hanalyze.Viz.Pareto
    Hanalyze.Viz.PlotConfig
    Hanalyze.Viz.PlotData
    Hanalyze.Viz.PlotData.DataFrame
    Hanalyze.Viz.Report
    Hanalyze.Viz.ReportBuilder
    Hanalyze.Viz.ReportInstances
    Hanalyze.Viz.Scatter
    Hanalyze.Viz.Taguchi
  build-depends:
      base                 >= 4.14 && < 5
    , bytestring           >= 0.11 && < 0.13
    , containers           >= 0.6  && < 0.8
    , filepath             >= 1.4  && < 1.6
    , hmatrix              >= 0.20 && < 0.22
    , hvega                >= 0.12 && < 0.13
    , process              >= 1.6  && < 1.8
    , text                 >= 1.2  && < 2.2
    , aeson                >= 2.0  && < 2.3
    , temporary            >= 1.3  && < 1.4
    , vector               >= 0.12 && < 0.14
    , dataframe-core        ^>= 1.1
    , dataframe-operations  >= 1.1.1 && < 1.2
    , hanalyze-core == 0.2.0.1
    , hanalyze-frame == 0.2.0.1
    , hanalyze-bayes == 0.2.0.1
    , hanalyze-models == 0.2.0.1
    , hanalyze-design == 0.2.0.1