Catalog PyPI
PACKAGE EXPLORERView in registry

adaptive-stratification

PyPI

Adaptive Stratification library

Versions collected1
Direct dependencies2From release 1.0.1
Last observed20 Oct, 19:08 UTC

README

Version 1.0.1 documentation

Adaptive Stratification

This package provides an implementation of the adaptive stratification sampling method to estimate quantities of interest of the form Q = E(f(Y)), where the random vector Y follows a d-dimensional uniform distribution on the unit-cube and f is a given function.

Example: Using the Sampler

# Import the module containing the sampling routines
from stratification import AdaptiveStratification

# Create a sampler for function func
sampler = AdaptiveStratification(func, d, N_max, N_new_per_stratum, alpha, type='hyperrect')

# Solve (return a tuple)
result = sampler.solve()

Input arguments:

  • func: implementation of given function of interest that defines the quantity of interest. It needs to be callable, accepting one m-times-n-dimensional numpy array as input and returns a m-dimensional numpy array;
  • d: dimension of the stochastic domain;
  • N_max: number of total samples to be used;
  • N_new_per_stratum: targeted average number of samples per stratum, controlling the adaptation;
  • alpha: number between zero and one, defining the hybrid allocation rule;
  • type: type of tessellation procedure, i.e., via hyper-rectangles (type='hyperrect') or simplices (type='simplex')

More Information

See the Github repository for more details.

Downloads & popularity

3downloads
1-day window · source-reported counts20 Oct 2026
136.50
2026-07-23: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-07-23–2026-07-232026-07-27: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-07-27–2026-07-272026-07-30: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-07-30–2026-07-302026-08-01: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-01–2026-08-012026-08-02: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-02–2026-08-022026-08-03: 6 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-03–2026-08-032026-08-05: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-05–2026-08-052026-08-09: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-09–2026-08-092026-08-13: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-13–2026-08-132026-08-14: 4 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-14–2026-08-142026-08-15: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-15–2026-08-152026-08-17: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-17–2026-08-172026-08-20: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-20–2026-08-202026-08-22: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-22–2026-08-222026-08-23: 4 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-23–2026-08-232026-08-24: 13 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-24–2026-08-242026-08-25: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-25–2026-08-252026-08-26: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-26–2026-08-262026-08-28: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-28–2026-08-282026-08-31: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-08-31–2026-08-312026-09-01: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-01–2026-09-012026-09-04: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-04–2026-09-042026-09-07: 8 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-07–2026-09-072026-09-09: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-09–2026-09-092026-09-12: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-12–2026-09-122026-09-16: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-16–2026-09-162026-09-19: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-19–2026-09-192026-09-20: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-20–2026-09-202026-09-21: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-21–2026-09-212026-09-22: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-22–2026-09-222026-09-24: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-24–2026-09-242026-09-25: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-25–2026-09-252026-09-26: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-26–2026-09-262026-09-27: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-27–2026-09-272026-09-28: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-28–2026-09-282026-09-29: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-29–2026-09-292026-09-30: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-09-30–2026-09-302026-10-06: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-06–2026-10-062026-10-09: 4 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-09–2026-10-092026-10-12: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-12–2026-10-122026-10-13: 2 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-13–2026-10-132026-10-14: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-14–2026-10-142026-10-16: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-16–2026-10-162026-10-17: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-17–2026-10-172026-10-18: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-18–2026-10-182026-10-19: 1 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-19–2026-10-192026-10-20: 3 · observed 2026-10-21T12:23:41.4743590Z · period 2026-10-20–2026-10-20
23 Jul20 Oct

pypistats · 47 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-2032026-10-21T12:23:41.4743590Z
2026-10-19 – 2026-10-1912026-10-21T12:23:41.4743590Z
2026-10-18 – 2026-10-1832026-10-21T12:23:41.4743590Z
2026-10-17 – 2026-10-1712026-10-21T12:23:41.4743590Z
2026-10-16 – 2026-10-1612026-10-21T12:23:41.4743590Z
2026-10-14 – 2026-10-1412026-10-21T12:23:41.4743590Z
2026-10-13 – 2026-10-1322026-10-21T12:23:41.4743590Z
2026-10-12 – 2026-10-1212026-10-21T12:23:41.4743590Z
2026-10-09 – 2026-10-0942026-10-21T12:23:41.4743590Z
2026-10-06 – 2026-10-0612026-10-21T12:23:41.4743590Z
2026-09-30 – 2026-09-3022026-10-21T12:23:41.4743590Z
2026-09-29 – 2026-09-2922026-10-21T12:23:41.4743590Z
2026-09-28 – 2026-09-2822026-10-21T12:23:41.4743590Z
2026-09-27 – 2026-09-2722026-10-21T12:23:41.4743590Z
2026-09-26 – 2026-09-2632026-10-21T12:23:41.4743590Z
2026-09-25 – 2026-09-2532026-10-21T12:23:41.4743590Z
2026-09-24 – 2026-09-2412026-10-21T12:23:41.4743590Z
2026-09-22 – 2026-09-2222026-10-21T12:23:41.4743590Z
2026-09-21 – 2026-09-2112026-10-21T12:23:41.4743590Z
2026-09-20 – 2026-09-2012026-10-21T12:23:41.4743590Z
2026-09-19 – 2026-09-1912026-10-21T12:23:41.4743590Z
2026-09-16 – 2026-09-1612026-10-21T12:23:41.4743590Z
2026-09-12 – 2026-09-1222026-10-21T12:23:41.4743590Z
2026-09-09 – 2026-09-0912026-10-21T12:23:41.4743590Z
2026-09-07 – 2026-09-0782026-10-21T12:23:41.4743590Z
2026-09-04 – 2026-09-0412026-10-21T12:23:41.4743590Z
2026-09-01 – 2026-09-0132026-10-21T12:23:41.4743590Z
2026-08-31 – 2026-08-3122026-10-21T12:23:41.4743590Z
2026-08-28 – 2026-08-2812026-10-21T12:23:41.4743590Z
2026-08-26 – 2026-08-2612026-10-21T12:23:41.4743590Z
2026-08-25 – 2026-08-2512026-10-21T12:23:41.4743590Z
2026-08-24 – 2026-08-24132026-10-21T12:23:41.4743590Z
2026-08-23 – 2026-08-2342026-10-21T12:23:41.4743590Z
2026-08-22 – 2026-08-2212026-10-21T12:23:41.4743590Z
2026-08-20 – 2026-08-2032026-10-21T12:23:41.4743590Z
2026-08-17 – 2026-08-1732026-10-21T12:23:41.4743590Z
2026-08-15 – 2026-08-1512026-10-21T12:23:41.4743590Z
2026-08-14 – 2026-08-1442026-10-21T12:23:41.4743590Z
2026-08-13 – 2026-08-1322026-10-21T12:23:41.4743590Z
2026-08-09 – 2026-08-0932026-10-21T12:23:41.4743590Z
2026-08-05 – 2026-08-0512026-10-21T12:23:41.4743590Z
2026-08-03 – 2026-08-0362026-10-21T12:23:41.4743590Z
2026-08-02 – 2026-08-0212026-10-21T12:23:41.4743590Z
2026-08-01 – 2026-08-0112026-10-21T12:23:41.4743590Z
2026-07-30 – 2026-07-3012026-10-21T12:23:41.4743590Z
2026-07-27 – 2026-07-2722026-10-21T12:23:41.4743590Z
2026-07-23 – 2026-07-2322026-10-21T12:23:41.4743590Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.129 Mar 20222

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
skrumscheid/adss

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2942ff26c7932ad366bfd7fd649e7b4114b08cfc1afb8005d4eedc4569ce2ccf