Skip to content

WIP: Add a MeasureBase extension - #92

Draft
oschulz wants to merge 1 commit into
mainfrom
measurebase
Draft

oschulz wants to merge 1 commit into
mainfrom
measurebase

Conversation

@oschulz

@oschulz oschulz commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Written by Claude (Fable 5.1, high effort) on behalf of the maintainer.

Work in progress, companion to JuliaMath/MeasureBase.jl#182 and bat/BAT.jl#581.

Adds a MeasureBase package extension: shapes of MeasureBase measures derive from their variates (varshape for products, powers, Dirac measures, wrapped distributions, pushforwards through shapes, density and weighted measures, with a test-value fallback), unshaped(μ) is the pushforward through the inverse shape, shapes applied to measures give pushforwards, transports report the shape of their results, and NamedTupleDist, ConstValueDist and ReshapedDist convert to MeasureBase products, Dirac measures and pushforwards via asmeasure. The intent is to replace NamedTupleDist by MeasureBase products downstream (BAT).

Requires MeasureBase 0.15 (unreleased, the major-upgrade branch).

https://claude.ai/code/session_01L5yPndh2K6u14z3CwF9YXf

Shapes of MeasureBase measures derive from their variates, structurally
for products, powers, Dirac measures, wrapped distributions and
pushforwards through shapes, from a test value otherwise. Unshaped
measures are pushforwards through the inverse shape. Named tuples of
distributions, constant-value distributions and reshaped distributions
convert to MeasureBase products, Dirac measures and pushforwards.

Created by generative AI.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant