Skip to content

Conversation

@Desiment
Copy link
Contributor

@Desiment Desiment commented Sep 17, 2025

Description

This PR introduces a new families module for working with parametric distribution families, providing a replacement for SciPy.stats functionality within the PySATL project.

Changes

New Modules:

  • parametric_families/__init__.py - main module exports
  • parametric_families/parametric_family.py - ParametricFamily and ParametricFamilyDistribution classes
  • parametric_families/parametrizations.py - parametrization system and constraints
  • parametric_families/registry.py - parametric families registry
  • parametric_families/distribution.py - distributions with specific parameters

Key Features:

  • Support for multiple parametrizations of the same distribution family
  • Declarative parameter constraints via decorators
  • Automatic parameter validation
  • Conversion between different parametrizations
  • Integration with existing distributions module

Usage Example

See Jupyter Notebook

@Desiment Desiment marked this pull request as ready for review September 17, 2025 20:31
Desiment and others added 5 commits September 17, 2025 23:56
* provide general interfaces for working with parametrizations (subject
  to change)
* provide general interface for defining parametric families
* provide class ParametricFamilyDistribution, which implements
  Distribution protocol
* add several commons into `types`
@Desiment Desiment changed the title Families/developing families/developing: prototype implementation Sep 17, 2025
@Desiment Desiment merged commit 6b3a3d3 into main Sep 17, 2025
12 checks passed
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.

3 participants