Skip to main content

ProtoTorch: Prototype Learning in PyTorch

ProtoTorch Logo

tests GitHub tag (latest by date) PyPI GitHub license

Tensorflow users, see: ProtoFlow

Description

This is a Python toolbox brewed at the Mittweida University of Applied Sciences in Germany for bleeding-edge research in Prototype-based Machine Learning methods and other interpretable models. The focus of ProtoTorch is ease-of-use, extensibility and speed.

Installation

ProtoTorch can be installed using pip.

pip install -U prototorch

To also install the extras, use

pip install -U prototorch[all]

Note: If you're using ZSH (which is also the default shell on MacOS now), the square brackets [ ] have to be escaped like so: \[\], making the install command pip install -U prototorch\[all\].

To install the bleeding-edge features and improvements:

git clone https://github.com/si-cim/prototorch.git
cd prototorch
git checkout dev
pip install -e .[all]

Documentation

The documentation is available at https://www.prototorch.ml/en/latest/. Should that link not work try https://prototorch.readthedocs.io/en/latest/.

Contribution

This repository contains definition for git hooks. Pre-commit is automatically installed as development dependency with prototorch or you can install it manually with pip install pre-commit.

Please install the hooks by running:

pre-commit install
pre-commit install --hook-type commit-msg

before creating the first commit.

The commit will fail if the commit message does not follow the specification provided here.

Bibtex

If you would like to cite the package, please use this:

@misc{Ravichandran2020b,
  author = {Ravichandran, J},
  title = {ProtoTorch},
  year = {2020},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/si-cim/prototorch}}
}

Release files for prototorch 0.7.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prototorch 0.7.6
File Size Uploaded
prototorch-0.7.6.tar.gz 121.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prototorch 0.7.6
File Interpreter ABI Platform
prototorch-0.7.6-py3-none-any.whl Python 3 none any Details

Total release size: 154.2 kB

Release files / prototorch-0.7.6.tar.gz

Download URL prototorch-0.7.6.tar.gz
Size 121.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1a1083832a041a6400250a4bdfe9d04f36b4c681ad87738d17078c62c1d5f92c
BLAKE2b-256 checksum
How to use checksums
a3ac8c9caaad734d89163ead6c30f760ef359ea5c4d9630ef609f3a8653e05c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / prototorch-0.7.6-py3-none-any.whl

Download URL prototorch-0.7.6-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83bea0cbaae748cb4d052ddd4c24c8a4854f7aa72220adb35b1b79419674ca76
BLAKE2b-256 checksum
How to use checksums
cfc6349e874b190312e02143e6561f5c1622b48dafdc3b0222ecb16387e6c7d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page