Releases: zdelrosario/py_grama
Releases · zdelrosario/py_grama
Release v0.3.8
What's Changed
- import real from numpy for scipy deprecation by @zdelrosario in #234
- fix bin incompatibility ValueError from numpy 2.0 by @zdelrosario in #235
- Dev find files by @zdelrosario in #236
Full Changelog: v0.3.7...v0.3.8
Release v0.3.7
What's Changed
- rename gilbrat -> gibrat for scipy fix by @zdelrosario in #224
- update scipy ver requirement for gibrat fix by @zdelrosario in #225
- Dev uqtheme by @zdelrosario in #227
- Fix nls fixedvals by @zdelrosario in #228
- add random seed argument by @zdelrosario in #229
- Dev trunc by @zdelrosario in #230
- Dev piston model by @zdelrosario in #231
- Dev mom bounded by @zdelrosario in #232
Full Changelog: v0.3.6...v0.3.7
Hotfix v0.3.6
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
What's Changed
- Dev fix examples by @zdelrosario in #177
- Dev pi nhypergeom by @zdelrosario in #178
- add hide_traceback() by @zdelrosario in #179
- Fix runtime est by @zdelrosario in #180
- Dev sample index by @zdelrosario in #182
- Dev sir by @zdelrosario in #183
- use solve_ivp's t_eval, rather than interpolation by @zdelrosario in #184
- Dev Python versioning & testing by @mstites in #187
- Fix fit nls out by @zdelrosario in #190
- Dev tuple trap - grouping of common invariant tests for eval verbs by @mstites in #195
- Fix colset by @zdelrosario in #201
- Incorporate hotfix into
dev_eval_linupby @zdelrosario in #202 - Dev eval linup by @zdelrosario in #200
- Dev form inputs by @zdelrosario in #203
- test that convergence warning is raised by @zdelrosario in #204
- Dev sample ncrn by @zdelrosario in #205
- Dev runtime units by @zdelrosario in #206
- Dev cp freeze by @zdelrosario in #207
- Dev freeze df by @zdelrosario in #208
- deprecate tran_poly by @zdelrosario in #210
- Pull sklearn deprecation fix by @zdelrosario in #211
- Fix freeze density by @zdelrosario in #209
- Dev is numeric by @zdelrosario in #212
- Fix runtime msg by @zdelrosario in #213
- Dev plot color by @zdelrosario in #214
- Dev autoplot sobol by @zdelrosario in #215
- version lock pandas to fix pivot_wider by @zdelrosario in #218
- add black and white color mode, cover with test by @zdelrosario in #216
- Deprecate lolo & fix numpy version issue by @eys123 in #221
- add getvars() utility to help with cp_function() by @zdelrosario in #223
- Update comp_function() to take in separate inputs by @MayaSimone in #222
New Contributors
- @mstites made their first contribution in #187
- @eys123 made their first contribution in #221
- @MayaSimone made their first contribution in #222
Full Changelog: v0.3.4...v0.3.5
Release v0.3.4
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 thegr.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:
columnsargument now supports selection helpers, such asgr.matches();names_sepnow 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
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)
Fixes
- add psdr subpackages to setup.py to fix ModuleNotFound errors
Version 0.3.1
Breaking changes
- deprecate
tf_transmute() - rename
Marginal.l()toMarginal.d(); this is a density, not a likelihood - rename
marg_named()tomarg_fit(); that name is confusing now that we also havemarg_mom() - change argument order for
marg_fit()to make consistent withmarg_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()andmarg_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()andlogspace()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()andpr_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 mentionstran_sp()for reducing model runtime - add link to random variable modeling page in documentation to undefined copula error
Version 0.3.0
Breaking Changes
- renamed
eval_monte_carlo()toeval_sample() - changed default argument behavior for
nineval_sample(); no longer provides defaultn=1
Infrastructure Changes
- Moved dependencies from
requirements.txttosetup.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 withneff_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
Marginalclass functionsMarginal.l(),Marginal.q(),Marginal.p()symbolic to enable use withintran_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
Additions:
- Summary functions
gr.skew()andgr.kurt()
Fixes:
- Fix behavior of
tran_pivot_longer()when using.valueandnames_sepsimultaneously; no longer have to provide dummyvalues_toargument.