Jenn

Latest version: v1.0.6

Safety actively analyzes 641102 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.6

Docs

- Added link to technical paper on ArXiv (preprint) in README and `docs\index.rst`
- Fixed notation inconsistency in Jacobian matrix (data structures section)
- Updated `demo_4_rosenbrock.ipynb` with plot annotations (and fixed random seed)

Refactor

- Switched order of indices `r` and `s` in `propagation.py` to match paper

1.0.5

Fix

- missing dependencies (`jsonschema`, `jsonpointer`)
- missing data (*.json was not being included in build, so added MANIFEST.in)
- typing oversight for python 3.8 (in `cost.py` and `sythetic.py`)

1.0.4

Fix

- Fixed random seed not working (previously not being passed to parameter initialization)
- Fixed `minibatch` issue throwing error below when `shuffle=False` and more than one batch

Traceback (most recent call last):
File "C:\[...]\jenn\model.py", line 141, in fit
self.history = train_model(
File "C:\[...]\jenn\core\training.py", line 121, in train_model
batches = data.mini_batches(batch_size, shuffle, random_state)
File "C:\[...]\jenn\core\data.py", line 229, in mini_batches
batches = mini_batches(X, batch_size, shuffle, random_state)
File "C:\[...]\jenn\core\data.py", line 51, in mini_batches
if mini_batch:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()


Refactor

- Added jsonschema to validate reloaded parameters and check array shapes
- Added levels as input to `plot.contours`

Features

- Added optional ability to prioritize individual training points (useful to ensure more accuracy in known regions of interest)
- Added optional ability to warmstart; i.e. continue training from current parameters (without initialization)
- Exposed more hyperparameters pertaining to optimizer (e.g. tolerance stopping criteria)
- Added option to use finite difference for generating synthetic data partials (used to study effect noisy partials)

Documentation

- Added airfoil notebook as example of large dataset
- Added surrogate-based optimization notebook to demonstrate benefit of JENN
- Updated theory.pdf

1.0.3

Fix

- Updated annotations in `jenn.utils.plot` which were incompatible with Python 3.8 (causing runtime errors)
- Manually updated `__version__` number inside `__init__` (previous oversight)

Documentation

- Update demo examples to use `from jenn.utils import plot` instead of `jenn.utils.plot` (which failed a test on Python 3.11.7)

1.0.2

Feature

- Added support for `python >= 3.8`

1.0.1

Documentation

- Update [paper link](https://github.com/shb84/JENN/blob/master/docs/theory.pdf) to point to version on `master` instead of `refactor` branch

Fix

- Fixed `minibatch` which was previously not reusing parameters from one batch to another
- Fixed `random_state` which was previously was not being passed everywhere it should
- Resolved rrror messages when optional `matplotlib` library not installed

Feature

- Added support for `python >= 3.9`

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.