Skip to main content

A package to learn linear operators

Project description

Linear Operator Learning

Install

To install this package as a dependency, run:

pip install linear-operator-learning

Development

To develop this project, please setup uv by running the following commands:

  1. curl -LsSf https://astral.sh/uv/install.sh | sh
  2. git clone git@github.com:CSML-IIT-UCL/linear_operator_learning.git & cd linear_operator_learning
  3. uv sync --dev
  4. uv run pre-commit install

Optional

Set up your IDE to automatically apply the ruff styling.

Contributing

Please adhere to the following principles while contributing to the project:

  1. Adopt a functional style of programming. Avoid abstractions (classes) like they were plague.
  2. To add a new feature, create a branch and when done open a Pull Request. It is not possible to approve your own PR.
  3. Write tests on the functional level and not on the integration level (which shouldn't matter anyway).
  4. The package contains both numpy and torch based algorithms. Let's keep them separated.
  5. The functions shouldn't change the dtype or device of the inputs (that is, keep a functional approach)
  6. Try to complement your contributions with simple examples to be added in the examples folder

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linear_operator_learning-0.1.7.tar.gz (59.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linear_operator_learning-0.1.7-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file linear_operator_learning-0.1.7.tar.gz.

File metadata

File hashes

Hashes for linear_operator_learning-0.1.7.tar.gz
Algorithm Hash digest
SHA256 bec75231aa347c6595a4a1f266b028e3c796e1f7709b67847ff5189ae893bd96
MD5 15076dd2441c6a8bbc5b32e84c81709d
BLAKE2b-256 b73132835b337791f15677b2ae5477e95820c45f36cb9fc26eff47be608cebc1

See more details on using hashes here.

File details

Details for the file linear_operator_learning-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for linear_operator_learning-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d277f6d779f5e3b760e9ded1840defadb097a518ea4d9e3618a85d5482e7c7c1
MD5 23e42b35ce7f456341b45dc1974ddde5
BLAKE2b-256 52ef262a25626141c1ff1564009abc729afcb1011f1287c7614797ecf149ef27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page