Skip to content

Releases: Quantco/tabmat

quantcore.matrix 2.0.3

15 Jul 20:34
Compare
Choose a tag to compare

2.0.3 - 2021-07-15

Bug fix:

  • In SplitMatrix.sandwich, when a col subset was specified, incorrect output was produced if the components of the indices array were not sorted. SplitMatrix.__init__ now checks for sorted indices and maintains sorted index lists when combining matrices.

Other changes:

  • SplitMatrix.__init__ now filters out any empty matrices.
  • StandardizedMatrix.sandwich passes rows=None and cols=None onwards to the underlying matrix instead of replacing them with full arrays of indices. This should improve performance slightly.
  • SplitMatrix.__repr__ now includes the type of the underlying matrix objects in the string output.

quantcore.matrix 2.0.2

24 Jun 15:10
Compare
Choose a tag to compare

Bug fix:

  • Sparse matrices now accept 64-bit indices on Windows.

quantcore.matrix 2.0.1

20 Jun 19:09
Compare
Choose a tag to compare

2.0.1 - 2021-06-20

Bug fix:

  • Split matrices now also work on Windows.

quantcore.matrix 2.0.0

17 Jun 16:47
Compare
Choose a tag to compare

2.0.0 - 2021-06-17

Breaking changes:

We renamed several public functions to make them private. These include functions in quantcore.matrix.benchmark that are unlikely to be used outside of this package as well as

  • quantcore.matrix.dense_matrix._matvec_helper
  • quantcore.matrix.sparse_matrix._matvec_helper
  • quantcore.matrix.split_matrix._prepare_out_array

Other changes:

  • We removed the dependency on sparse_dot_mkl. We now use scipy.sparse.csr_matvec instead of sparse_dot_mkl.dot_product_mkl on all platforms, because the former suffered from poor performance, especially on narrow problems. This also means that we removed the function quantcore.matrix.sparse_matrix._dot_product_maybe_mkl.
  • We updated the pre-commit hooks and made sure the code is line with the new hooks.

quantcore.matrix 1.0.6

26 Apr 18:38
Compare
Choose a tag to compare

Windows releases 🚀

quantcore.matrix 1.0.5

26 Apr 12:22
Compare
Choose a tag to compare

Fix Windows CI upload.

quantcore.matrix 1.0.3

22 Apr 09:54
Compare
Choose a tag to compare

Bug fixes:

  • Added a check that matrices are two-dimensional in the SplitMatrix.__init__
  • Replace np.int with np.int64 where appropriate due to NumPy deprecation of np.int.

quantcore.matrix 1.0.2

20 Apr 18:03
Compare
Choose a tag to compare
  • Added Python 3.9 support.
  • Use scipy.sparse dot product when MKL isn't available.

quantcore.matrix 1.0.1

25 Nov 07:28
Compare
Choose a tag to compare

Bug fixes:

  • Handling for nulls when setting up a CategoricalMatrix
  • Fixes to make several functions work with both row and col restrictions and out

Other changes:

  • Added various tests and documentation improvements

quantcore.matrix 1.0.0

11 Nov 17:29
Compare
Choose a tag to compare

Breaking change:

  • Rename dot to matvec. Our dot function supports matrix-vector multiplication for every subclass, but only supports matrix-matrix multiplication for some. We therefore rename it to matvec in line with other libraries.

Bug fix:

  • Fix a bug in matvec for categorical components when the number of categories exceeds the number of rows.