Skip to content

Releases: ICB-DCM/pyPESTO

pyPESTO v0.5.5

13 Jan 14:46
b628397
Compare
Choose a tag to compare
  • Breaking Changes
    • PETab select: There are some deprecated features that will show up as warnings. In addition:

      • The plotting methods ignore some arguments. You will need to reimplement these with the newer approach, which uses
        plotting methods from the PEtab Select library instead. See the model selection notebook for examples.

      • All objects containing multiple models (e.g., dictionaries or lists) are now replaced by petab_select.Models,
        which supports dictionary and list methods.

        To convert your old list of models:

        petab_select.Models(list_of_Model)
  • General
  • Hierarchical
    • Fix no error if inner observable parameter in noise formula & viceversa (#1504)
    • Remove inner datas from relative calculator (#1505)
    • Fix not scaling inner pars when applying to rdatas (#1534)
  • Optimization
    • ESSOptimizer: Fix priority for local search startpoints (#1503)
    • Fix NLoptOptimizer.repr (#1518)
    • Improve exception-handling in SacessOptimizer (#1517)
    • Fix ESSOptimizer min of empty sequence (#1510)
    • Don't modify sys.path for amici model imports (#1522)
    • Set OptimizerResult.optimizer in Optimizer.minimize (#1525)
    • SacessOptimizer: More efficient saving of intermediate results (#1529)
  • Objective
    • AmiciObjective/PEtab import: Fix plist (#1493)
    • PEtab: Fix warning from fill_in_parameters with fixed parameters (#1509)
    • Amici: Fix handling of PEtab fixed parameters (#1514)
    • Fix get_parameter_prior_dict docstring (#1537)
  • Select
    • Support user-provided calibration results (#1338)
    • Problem-specific minimize method for SaCeSS (#1339)
    • Update for the latest PEtab Select version; see example notebook or the PEtab Select repo (#1530)
  • Storage
    • Enable writing Optimize(r)Result directly in Writer (#1528)
    • Update parameter scale storage (#1542
  • Visualize
    • Fix flatten of observable mapping with one observable (#1515)

pyPESTO v0.5.4

31 Oct 10:15
3b97e34
Compare
Choose a tag to compare
  • Breaking Changes
  • General
  • Profile
    • Improve Profiling Code (#1447)
  • Visualize
    • allow log and/or linear scale for visualization (#1435)
    • More informative error message for start indices. (#1472)
  • Optimization
    • SacessOptimizer: Fix acceptance threshold for objective improvement (#1457)
    • SacessOptimizer: expose more hyperparameters + minor fixes (#1459, #1476)
    • SacessOptimizer, ESSOptimizer: Bound-normalize parameters for proximity check (#1462)
    • ESSOptimizer: Fix bug in recombination and go-beyond (#1477, #1480)
  • Objective
    • FD-objective correctly working with fixed parameters (#1446)
    • Petab Importer reforge (#1442, #1502)
    • Use cloudpickle for serializing NegLogParameterPriors (#1467)
    • Update PEtab.jl integration to match version 3.X (#1489)
  • Sampling
    • Bayes Factor Tutorial (#1444)
  • Ensemble
    • Added HPD calculation to ensemble (#1431)

pyPESTO v0.5.3

30 Jul 11:50
ead29b3
Compare
Choose a tag to compare
  • General
    • Notebook on history usage and comparison of multiple results. (#1389)
    • GHA/test improvements (#1423, #1408, #1430)
    • Numpy 2.0 compatibility (#1420, #1433)
  • PEtab
    • Issue a warning if a fixed parameter has a prior defined (#1413)
    • Update to libpetab 0.4.0 (#1422)
  • Optimize
    • Added a Result object with lazy hdf5 loading (#1421)
  • RoadRunner
    • Roadrunner handling of petab issue 0019 (#1419)
    • Disentangle amici and roadrunner (#1429)
  • Amici
    • Require return_dict in ObjectiveBase.call_unprocessed (fixes AMICI posterior RData) (#1424)
  • Hierarchical
    • Visualize: visualization of estimated observable mapping (#1409)
    • Hierarchical: avoid recomputing inner parameters if simulation failed (#1426)
  • Visualization
    • Fixing Aggregated Objective Visualisations (#1411)

pyPESTO v0.5.2

31 May 13:27
d38005e
Compare
Choose a tag to compare
  • New Feature: Variational inference with PyMC (#1306)
  • PEtab
    • Import of petab independent of amici (#1355)
  • Problem
    • Added option to sample startpoints for a problem, from the problem directly. (#1364)
    • More detailed defaults for problem.get_full_vector (#1393)
    • Save pypesto and python version to the problem. (#1382)
  • Objective
    • Fix calling priors in sampling with fixed parameters (#1378)
    • Fix JaxObjective (#1400)
  • Optimize
    • ESS optimizers: suppress divide-by-zero warnings; report n_eval (#1380)
    • SacessOptimizer: collect worker stats (#1381)
    • Add load method to Hdf5AmiciHistory (#1370)
  • Hierarchical
    • Relative: fix log of zero for default 0 sigma values (#1377)
  • Sample
    • Fix pypesto.sample.geweke_test.spectrum for nfft<=3 (#1388)
  • Visualize
    • Handle correlation plot with nans (#1365)
  • General

pyPESTO v0.5.1

16 Apr 16:35
339ce2a
Compare
Choose a tag to compare

Re-release to fix pypi issues.

pyPESTO v0.5.0

16 Apr 14:05
872e253
Compare
Choose a tag to compare
  • General
  • Hierarchical
    • Semiquant: Fix spline knot initialization (#1313, #1323)
    • Semiquant: Add spline knots to the optimization result (#1314)
    • Semiquant: fix inner opt tolerance (#1330)
    • Relative: Fix return of relative calculator if sim fails (#1315)
    • Relative: Hierarchical optimization: fix unnecessary simulation (#1327)
    • Relative: Fix return of inner parameters on objective call (#1333)
  • Optimize
    • Support ipopt with gradient approximation (#1310)
    • Deprecate CmaesOptimizer in favor of CmaOptimizer (#1311)
    • ESSOptimizer: Respect local_n2 in case of failed initial local search (#1328)
    • Remove CESSOptimizer (#1320)
    • SacessOptimizer: use 'spawn' start method for multiprocessing (#1353)
  • PEtab
    • Fix unwanted amici model recompilation in PEtab importer (#1319)
  • Sample
    • Adding Thermodynamic Integration (#1326, #1361)
    • Dynesty warnings added (#1324)
    • Dynesty: method to save raw results (#1331)
  • Ensembles
    • Ensembles: don't expect OptimizerResult.id to be convertible to int (#1351)
  • Misc
    • Updated Code to match dependency updates (#1316, #1344, #1346, #1345)
    • Ignore code formatting in git blame (#1317)
    • Updated deployment method (#1341, #1371, #1373)
    • add pyupgrade to codechecks (#1352)
    • Temporarily require scipy<1.13.0 for pypesto[pymc] (#1360)

pyPESTO v0.4.2

06 Feb 08:55
34e89b3
Compare
Choose a tag to compare
  • General
  • Optimize
    • (Sac)ESSOptimizer: History of best objective values (#1212)
    • Fix missing fixed parameters in scatter search results (#1265)
    • Fix TypeError in pypesto.result.optimize.OptimizerResult.summary if x0 is None (#1266)
    • ESSOptimizer: Include results for local searches in OptimizeResult (#1270)
  • New Feature: Spline Approximation (#1222)
  • Select
    • Allow for hierarchical problems (#1241)
    • custom minimize method (#1264)
  • Hierarchical
    • Log space startpoint sampling (#1242)
    • Support for box constraints on offset and scaling parameters (#1238)
    • restructuring and add relative to InnerCalculatorCollector (#1245)
  • History
    • Support pathlib.Path for result/history files (#1247)
    • Extended Amici history (#1263)
  • Visualize
    • Fix time trajectories for hierarchical problems (#1213)
    • Fix hierarchical parameter plotting for all optimizers (#1244)
    • Sacess history plot (#1250)
  • Objective
    • Fix PEtab.jl version to before 2.5.0 (temporarily) (#1256)
  • PEtab
    • Enable Importer passing verbose to create_model (#1269)
    • PetabImporter: version-specific amici model directories (#1283)
  • Problem
    • Problem: add inner problem names, bounds and hierarchical flag (#1282)
    • Use warnings.warn instead of logging.warn when loading Problem from HDF5 without an Objective (#1253)
  • Ensemble
    • EnsemblePrediction: remove "no predictor" warning (#1293)

pyPESTO v0.4.1

06 Dec 08:41
b4a187f
Compare
Choose a tag to compare
  • General
  • History:
    • Enable converting MemoryHistory to Hdf5History (#1211)
  • Profile:
    • Code simplification and other clean up (#1225)
    • Fix incorrect indexing in pypesto.profile.profile_next_guess.get_reg_polynomial (#1226)
  • Optimize
    • Warnings for scipy together with laplace prior (#1228)
  • Visualization:
    • Skip the history trace, if trace is empty. Occurs for infinite initial values. (#1234)

pyPESTO v0.4.0

22 Nov 14:07
d0d2a73
Compare
Choose a tag to compare
  • General
  • Profile:
    • Fix problem overwrite of profiling (#1153)
    • Add warning, trying to profile fixed parameter (#1155)
    • ProfileOptions: add some basic integrity checking (#1163)
    • Fix pypesto.profile.parameter_profile incorrectly assuming symmetric bounds (#1166)
    • Improve pypesto/profile/profile_next_guess.py (#1167)
    • Parameter profile: retry optimization in case of failure (#1168)
    • Fix incorrect types in pypesto.result.profile.ProfilerResult (#1210)
  • Problem:
    • Add/forward startpoint_kwargs in PetabImporter.create_problem (#1135)
    • Support valid AMICI noise distributions that are invalid in PEtab (#1157)
    • Fix startpoint sampling for PEtab-derived problems with fixed parameters (#1169)
  • Optimize
  • Hierarchical:
    • Fix HierarchicalAmiciCalculator.__call__ not setting 'hess' in result (#1161)
  • Visualization:
    • Fix legend argument checking for waterfall/parameter/history plots (#1139)
    • Fix waterfall start indices for multiple results (#1200)

pyPESTO v0.3.3

20 Oct 08:35
883138a
Compare
Choose a tag to compare
  • Visualize:
    • Get optimization result by id (#1116)
  • Storage:
    • allow "{id}" in history storage filename (#1118)
  • Objective:
    • adjusted PEtab.jl syntax to new release (#1128, #1131)
    • Documentation on PEtab importer updated (#1126)
  • Ensembles
    • Additional option for cutoff calculation (#1124)
    • Ensembles from optimization endpoints now only takes free parameters (#1130)
  • General
    • Added How to Cite (#1125)
    • Additional summary option (#1134)
    • Speed up base tests (#1127)