Pyttb

Latest version: v1.8.1

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

Scan your dependencies

Page 1 of 4

1.8.1

- Fixed:
- Aligning comparison operator output for data classes (https://github.com/sandialabs/pyttb/pull/331)
- Improved:
- Getting starting documentation (https://github.com/sandialabs/pyttb/pull/324)
- Development enviroment (https://github.com/sandialabs/pyttb/pull/329, https://github.com/sandialabs/pyttb/pull/330)
- Documentation (https://github.com/sandialabs/pyttb/pull/328, https://github.com/sandialabs/pyttb/pull/334)

1.8.0

- Added:
- Added `ktensor.vis` method for visualizing CP decompositions (https://github.com/sandialabs/pyttb/pull/301)
- Added support in `cp_als` to optimize only specific modes (https://github.com/sandialabs/pyttb/pull/302)
- Added dependency on `matplotlib` for visualization support (https://github.com/sandialabs/pyttb/pull/301)
- Fixed:
- Fixed timings and output formatting in `gcp_opt` (https://github.com/sandialabs/pyttb/pull/314)
- Improved:
- Improved performance of `ktensor.full` (https://github.com/sandialabs/pyttb/pull/300)
- Deprecated:
- Replaced `tt_to_dense_matrix` and `tt_from_dense_matrix` with `tenmat` data class and methods (https://github.com/sandialabs/pyttb/pull/294)
- Removed support for Python 3.8 (end-of-life) (https://github.com/sandialabs/pyttb/pull/319)

1.7.0

- **Breaking Changes:**
- _API Change:_ Constructors (`__init__`) and helper functions have been combined for all data classes, leading to breaking changes; if you use `from_*` methods in your existing `pyttb` usage to create instances of data classes this will require changes. see the updated [documentation](https://pyttb.readthedocs.io) and [tutorials](https://pyttb.readthedocs.io/en/latest/tutorials.html) for examples of using the update APIs. (https://github.com/sandialabs/pyttb/pull/213, https://github.com/sandialabs/pyttb/pull/293)
- _API Change:_ Changed constructors of main data classes to allow use by external packages that wrap existing data in memory. This allows for use of `pyttb` data classes by external packages without making copies of the data. (https://github.com/sandialabs/pyttb/pull/182)
- API Change: `params` output of `cp_als` changed from `tuple` to `dict` (https://github.com/sandialabs/pyttb/pull/238)
- _Deprecation:_ Removed unused `end` methods from data classes (https://github.com/sandialabs/pyttb/pull/195)
- New:
- Changed support of `numpy` to < version 2 for backwards compatibility; will update in future release (https://github.com/sandialabs/pyttb/pull/307)
- Added `gcp_opt` algorithm for Generalized CP decompositions (https://github.com/sandialabs/pyttb/pull/206)
- Added `sptenmat` data class (https://github.com/sandialabs/pyttb/pull/290)
- Added `sumtensor` data class (https://github.com/sandialabs/pyttb/pull/282)
- Added `sptensor.squash` method (https://github.com/sandialabs/pyttb/pull/175)
- Improved in `cp_apr` performance for `tensor`s (https://github.com/sandialabs/pyttb/pull/176)
- Added `tensor.scale`, providing support for `ttensor` input in `cp_als` (https://github.com/sandialabs/pyttb/pull/221)
- Added `teneye` (https://github.com/sandialabs/pyttb/pull/222)
- Added support for different index bases in `import_data` (https://github.com/sandialabs/pyttb/pull/144)
- Documentation:
- Added tutorials that mirror those in the Tensor Toolbox for MATLAB
- Added documentatin for mapping between `pyttb` and Tensor Toolbox for MATLAB usage (https://github.com/sandialabs/pyttb/pull/291)
- Completed documentation for all methods and algorithms
- Improved RTD (readthedocs.io) support (https://github.com/sandialabs/pyttb/pull/178)
- Added citation information for `pyttb` (https://github.com/sandialabs/pyttb/pull/268)
- Fixes/Completed:
- Fixed indexing/slicing in `tensor` (https://github.com/sandialabs/pyttb/pull/150)
- Fixed `sptensor.innerproduct` output (https://github.com/sandialabs/pyttb/pull/217)
- Fixed `export_data` to write `tensor`s using the correct ordering (https://github.com/sandialabs/pyttb/pull/143)
- Fixed ZeroDivisionError in `cp_als` (https://github.com/sandialabs/pyttb/pull/242)
- Fixed how initial guesses are generated in `tucker_als` (https://github.com/sandialabs/pyttb/pull/283)
- Fixed output formatting in `tucker_als` (https://github.com/sandialabs/pyttb/pull/265)
- Fixed `sptensor.mask` problem with invalid indices (https://github.com/sandialabs/pyttb/pull/259)
- Fixed `sptensor.logical_*` methods to generate correct output types (https://github.com/sandialabs/pyttb/pull/269)
- Development:
- Completed typing of all data classes and algorithms
- Adding pre-commit hooks
- Added ruff usage to replace isort, pylint usage
- Updated GitHub Actiob versions, pypi.org upload action

1.6.2

- Documentation:
- Updated coverage testing (https://github.com/sandialabs/pyttb/pull/128, https://github.com/sandialabs/pyttb/pull/131, https://github.com/sandialabs/pyttb/pull/132, https://github.com/sandialabs/pyttb/pull/133)
- Updated dev docs for contributors (https://github.com/sandialabs/pyttb/pull/106, https://github.com/sandialabs/pyttb/pull/123)
- Clarifications in `sptensor` (https://github.com/sandialabs/pyttb/pull/137)
- Minor fixes for clarification (https://github.com/sandialabs/pyttb/pull/117)
- Fixes/Completed:
- Fixing indexing/slicing in `tensor` (https://github.com/sandialabs/pyttb/pull/109, https://github.com/sandialabs/pyttb/pull/116)
- Fixing `ktensor` methods: `arrange`, `normalize` (https://github.com/sandialabs/pyttb/pull/103)
- Streamling `khatrirao` code (https://github.com/sandialabs/pyttb/pull/127)
- Avoiding class names for variables (https://github.com/sandialabs/pyttb/pull/118)

1.6.1

- New:
- Tensor generator helpers:
- `tenones`, `tenzeros`, `tendiag`, `sptendiag` (PR https://github.com/sandialabs/pyttb/pull/93)
- `tenrand`, `sptenrand` (PR https://github.com/sandialabs/pyttb/pull/100)
- Moved to using `logging` instead of `warnings` (PR https://github.com/sandialabs/pyttb/pull/99)
- Documentation:
- Completed: `ktensor` (PR https://github.com/sandialabs/pyttb/pull/101)
- Fixed linking for new classes (PR https://github.com/sandialabs/pyttb/pull/98)

1.6.0

- API Change (PR https://github.com/sandialabs/pyttb/pull/91)
- *Not backwards compatible*
- `pyttb_utils.tt_dimscheck`
- Addresses ambiguity of -0 by using `exclude_dims` (`numpy.ndarray`) parameter
- `ktensor.ttv`, `sptensor.ttv`, `tensor.ttv`, `ttensor.ttv`
- Use `exlude_dims` parameter instead of `-dims`
- Explicit nameing of dimensions to exclude
- `tensor.ttsv`
- Use `skip_dim` (`int`) parameter instead of `-dims`
- Exclude all dimensions up to and including `skip_dim`
- Fixes/Completed:
- Code cleaning: minor changes associated with replacing `-dims` with `exclude_dims`/`skip_dim`
- Authorship: PyPI only allows one author, changing to current POC

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.