Skip to content

Releases: sandialabs/pyttb

v1.8.2

06 Jan 22:43
0a469f5
Compare
Choose a tag to compare

What's Changed

  • Fixed:
    • Fixed layout and printing issues (#354)
    • Fixed tutorial hierarchy (#343)
  • Improved:
    • Improved pyttb_utils (#353)
    • Improved docs for coming from MATLAB (#352)
    • Improved shape support in data classes (#348)

Full Changelog: v1.8.1...v1.8.2

v1.8.1

11 Nov 21:54
Compare
Choose a tag to compare

What's Changed

  • Fixed:
    • Aligning comparison operator output for data classes (#331)
  • Improved:
    • Getting starting documentation (#324)
    • Development enviroment (#329, #330)
    • Documentation (#328, #334)

Full Changelog: v1.8.0...v1.8.1

v1.8.0

24 Oct 03:23
b41f72c
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v1.7.0...v1.8.0

v1.7.0

23 Oct 18:39
153de3e
Compare
Choose a tag to compare

What's Changed

  • 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 and tutorials for examples of using the update APIs. (#213, #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. (#182)
    • API Change: params output of cp_als changed from tuple to dict (#238)
    • Deprecation: Removed unused end methods from data classes (#195)
  • New:
    • Changed support of numpy to < version 2 for backwards compatibility; will update in future release (#307)
    • Added gcp_opt algorithm for Generalized CP decompositions (#206)
    • Added sptenmat data class (#290)
    • Added sumtensor data class (#282)
    • Added sptensor.squash method (#175)
    • Improved in cp_apr performance for tensors (#176)
    • Added tensor.scale, providing support for ttensor input in cp_als (#221)
    • Added teneye (#222)
    • Added support for different index bases in import_data (#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 (#291)
    • Completed documentation for all methods and algorithms
    • Improved RTD (readthedocs.io) support (#178)
    • Added citation information for pyttb (#268)
  • Fixes/Completed:
    • Fixed indexing/slicing in tensor (#150)
    • Fixed sptensor.innerproduct output (#217)
    • Fixed export_data to write tensors using the correct ordering (#143)
    • Fixed ZeroDivisionError in cp_als (#242)
    • Fixed how initial guesses are generated in tucker_als (#283)
    • Fixed output formatting in tucker_als (#265)
    • Fixed sptensor.mask problem with invalid indices (#259)
    • Fixed sptensor.logical_* methods to generate correct output types (#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

Full Changelog: v1.6.2...v1.7.0

v1.6.2

08 Jun 20:39
f66730e
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v1.6.1...v1.6.2

v1.6.1

27 Apr 15:00
48c15b5
Compare
Choose a tag to compare

What's Changed

  • New:
    • Tensor generator helpers:
      • tenones, tenzeros, tendiag, sptendiag (PR #93)
      • tenrand, sptenrand (PR #100)
    • Moved to using logging instead of warnings (PR #99)
  • Documentation:
    • Completed: ktensor (PR #101)
    • Fixed linking for new classes (PR #98)

Full Changelog: v1.6.0...v1.6.1

v1.6.0

16 Apr 15:17
ab3b410
Compare
Choose a tag to compare

What's Changed

  • API Change (PR #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

Full Changelog: v1.5.1...v1.6.0

v1.5.1

14 Apr 21:55
5544863
Compare
Choose a tag to compare
  • New:
    • Dev Support:
      • Linting: support for pyttb_utils and sptensor (PR #77)
      • Pre-commit: support @ntjohnson1 in (PR #83)
  • Fixed/Completed:
    • hosvd: Negative signs can be permuted for equivalent decomposition (PR #82)
    • Versioning: using dynamic version in pyproject.toml (PR #86)
    • Package Testing: fixed problem with subprocesses (PR #87)

Full Changelog: v1.5.0...v1.5.1

v1.5.0

19 Mar 18:37
8776944
Compare
Choose a tag to compare

What's Changed

  • New:
    • Added hosvd Tuecker decomposition (Issue #56, PR #67)
    • Added tucker_als Tuecker decomposition (PR #66)
    • Autoformatting using black and isort (Issue #59, PR #60)
  • Updated/Ongoing:
    • Included more testing for improved coverage (Issue #78, PR #79)

Full Changelog: v1.4.0...v1.5.0

v1.4.0

22 Feb 14:28
Compare
Choose a tag to compare

What's Changed

  • New:
    • Added ttensor class and associated tests (Issue #10, PR #51)
  • Fixed/Completed:
    • Tensor slicing now passes through to numpy array slicing (Issue #41, PR #50)
  • Updated/Ongoing:
    • Included more testing for improved coverage (Issue #14, PR #52)

Full Changelog: v1.3.9...1.4.0