python3-sparse

multidimensional sparse arrays for Python

Description

This package implements sparse multidimensional arrays on top of NumPy and scipy.sparse. It generalizes the scipy.sparse.coo_matrix layout but extends beyond just rows and columns to an arbitrary number of dimensions. The original motivation is for machine learning algorithms, but it is intended for somewhat general use.

It supports:

  - NumPy ufuncs (where zeros are preserved)
  - Arithmetic with scalars (where zeros are preserved)
  - Reductions (sum, max)
  - Reshape
  - Transpose
  - Tensordot
  - Slicing with integers, lists, and slices (with no step value)
  - Concatenation and stacking
  - Addition with other sparse arrays of the same shape

This package provides the modules for Python 3.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/pydata/sparse


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-sparse

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more