Skip to content

Releases: zdelrosario/py_grama

Release v0.3.7

14 Dec 17:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.6...v0.3.7

Hotfix v0.3.6

15 Jul 16:11
Compare
Choose a tag to compare

Full Changelog: v0.3.5...v0.3.6

Fix issue with scipy>=1.11 with renamed distribution from "gilbrat" to "gibrat"

Release v0.3.5

15 Jul 15:45
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.4...v0.3.5

Release v0.3.4

14 Apr 14:01
Compare
Choose a tag to compare

What's Changed

  • fix incorrect docstrings; add decimal arg to round() by @zdelrosario in #171
  • Dev n implicit by @zdelrosario in #173: Can now call gr.n() within a pipeline without using the gr.n(DF.index) hack
  • Code Maintenance(Coalesce) by @OscarDeGar in #172
  • add helpful error message when passing Intention to dataframe helpers… by @zdelrosario in #175
  • Added Functionality to Pivot_longer by @OscarDeGar in #176: columns argument now supports selection helpers, such as gr.matches(); names_sep now supports both separator characters and separate-by-position (e.g. names_sep=[1, -1]).

Full Changelog: v0.3.3...v0.3.4

Version 0.3.3

10 Mar 16:10
Compare
Choose a tag to compare

Features

  • Added Xbar and S chart utility plot_xbs()
  • Added fit_polyridge() to return fitted model based on polynomial ridge regression. Useful for cross-validation of polyridge hyperparameters, and another metamodel option!

Documentation

  • Significant improvements to transform documentation, including tran_rename, tran_mutate, tran_filter, tran_select, tran_sample, tran_summarize, and associated helper functions

Fixes

  • Removed a use of np.int

Version 0.3.2 (Hotfix)

25 Feb 19:42
Compare
Choose a tag to compare

Fixes

  • add psdr subpackages to setup.py to fix ModuleNotFound errors

Version 0.3.1

25 Feb 16:01
Compare
Choose a tag to compare

Breaking changes

  • deprecate tf_transmute()
  • rename Marginal.l() to Marginal.d(); this is a density, not a likelihood
  • rename marg_named() to marg_fit(); that name is confusing now that we also have marg_mom()
  • change argument order for marg_fit() to make consistent with marg_mom()
  • rename colmin -> min, colmax -> max, colsum -> sum

Features

  • add random variable sample to marginals Marginal.r(n)
  • add frozen location parameter option to marg_mom() and marg_fit(); enables access to 2-parameter lognormal and 2-parameter Weibull distributions
  • make marginal summary output more readable by reporting standard moments, rather than distribution parameters
  • add autoplot dispatch from eval_contour() output
  • add linspace() and logspace() helper functions
  • add thermal-radiation channel model based on Andrew Banko's thesis; verify implementation against existing data
  • add tran_iocorr() to compute input/output correlations; autoplot dispatch for useful EMA tool (correlation tileplot)
  • add mean_lo|up() and pr_lo|up() helper summary functions to compute lower and upper confidence interval bounds

Fixes

  • fixed bug with automatic levels in eval_contour()
  • correct buckling plate model; now takes wavenumber for buckling mode
  • remove dependency on psdr package by inboarding & trimming code, allows us to keep tran_varproj() without a cvxpy dependency
  • vectorize the cantilever beam model's functions

Documentation

  • add a more informative example in docstring for if_else()
  • add documentation to eval_sample() that mentions tran_sp() for reducing model runtime
  • add link to random variable modeling page in documentation to undefined copula error

Version 0.3.0

09 Jan 02:41
Compare
Choose a tag to compare

Breaking Changes

  • renamed eval_monte_carlo() to eval_sample()
  • changed default argument behavior for n in eval_sample(); no longer provides default n=1

Infrastructure Changes

  • Moved dependencies from requirements.txt to setup.py
  • Changed optional dependencies to fail at runtime, rather than at import. Also moved optional dependencies to main grama namespace.

Features

  • Added importance sampling with tran_reweight; effective sample size approximation with neff_is()
  • Added active subspace approximation with tran_polyridge()
  • Added marginal fitting by the method of moments with marg_mom()
  • Added fumulative standard deviation window function cumsd()
  • Added plotnine under-the-hood for visualization; plotnine functions available through Grama namespace for convenience
  • Re-implemented autoplot utilities using plotnine
  • Added contour generation through marching squares with linear interpolation via eval_contour()
  • Made Marginal class functions Marginal.l(), Marginal.q(), Marginal.p() symbolic to enable use within tran_mutate()
  • Added QQ plot helper qqvals()
  • Added grouped counting helper tran_count()
  • Added df_group() helper to generate sweeps

Fixes

  • Vectorized trajectory model
  • Fixed bugs in PRLC model, added unittest coverage

Version 0.2.2

24 Sep 17:59
Compare
Choose a tag to compare

Additions:

  • Summary functions gr.skew() and gr.kurt()

Fixes:

  • Fix behavior of tran_pivot_longer() when using .value and names_sep simultaneously; no longer have to provide dummy values_to argument.

Version 0.2.1

05 Aug 14:20
Compare
Choose a tag to compare

Additions:

  • gr.tran_pivot_wider() and gr.tran_pivot_longer() for reshaping data; patterned off of the pivoting tools in tidyr @OscarDeGar

Fixes:

  • Docstrings for dfply functions (such as gr.tf_mutate) fixed; this makes it much easier to reference these tools when coding @OscarDeGar
  • Eliminated some circular importing by restructuring core.py and tools.py; adding a new marginals.py to consolidate marginal-related tools @Riya-1

Thanks to: