Skip to main content

A package to learn linear operators

Project description

SVG Image

Install

To install this package as a dependency, run:

pip install linear-operator-learning

Development

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

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

Optional

Set up your IDE to automatically apply the ruff styling.

Development principles

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

  1. Adopt a functional style of programming. Avoid abstractions (classes) at all cost.
  2. To add a new feature, create a branch and when done open a Pull Request. You should not approve your own PRs.
  3. The package contains both numpy and torch based algorithms. Let's keep them separated.
  4. The functions shouldn't change the dtype or device of the inputs (that is, keep a functional approach).
  5. Try to complement your contributions with simple examples to be added in the examples folder. If you need some additional dependency add it to the examples dependency group as uv add --group examples _your_dependency_.

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.12.tar.gz (164.9 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.12-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for linear_operator_learning-0.1.12.tar.gz
Algorithm Hash digest
SHA256 6e49a0f26996ff5ae896fee87b6b7cabef7cacc05bfd8d585bfb95724f211cb3
MD5 b38457f5b619ed60d3c0c8276bdc3e51
BLAKE2b-256 2988a17ce0ff39f7652cda1aebf74650fe02c2918bb6617a15b6a87e1298f279

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linear_operator_learning-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 308631e6bb9879fbe176fef10bb5e6bd48b9706d19ea34a533f31b484ec3c58a
MD5 e309b42b0aa73812e0c448ee32306ded
BLAKE2b-256 58240b21a1711ff6a29f174c8f92c4f1b03a2f42b1a50b18bdfb49b7c39cb6af

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