my fork of prototorch
Go to file
2021-06-20 17:49:53 +02:00
.github fix: python is python3.9 2021-06-18 19:20:54 +02:00
docs Bump version: 0.5.0 → 0.5.1 2021-06-18 15:49:20 +02:00
examples refactor(api)!: merge the new api changes into dev 2021-06-18 18:20:30 +02:00
prototorch refactor(api)!: merge the new api changes into dev 2021-06-18 18:54:55 +02:00
tests test(datasets): turn off tecator tests temporarily 2021-06-18 19:10:29 +02:00
.bumpversion.cfg refactor(api)!: merge the new api changes into dev 2021-06-18 18:54:55 +02:00
.codacy.yml Fix things codacy complains about 2020-09-24 11:53:35 +02:00
.codecov.yml Add .codecov.yml and codecov badge to README.md 2020-04-06 18:07:15 +02:00
.gitignore refactor(api)!: merge the new api changes into dev 2021-06-18 18:20:30 +02:00
.pre-commit-config.yaml refactor(api)!: merge the new api changes into dev 2021-06-18 18:20:30 +02:00
.readthedocs.yml fix: python is python3.9 2021-06-20 17:49:53 +02:00
.remarkrc Add remarkrc 2021-06-17 14:25:52 +02:00
.travis.yml Check if build passes with python3.9 2021-06-13 17:02:57 +00:00
LICENSE Initial commit 2020-02-07 10:11:36 +01:00
MANIFEST.in Update manifest 2020-07-13 09:32:38 +02:00
README.md fix: python is python3.9 2021-06-20 17:49:53 +02:00
RELEASE.md [QA] Remove duplicate headings 2021-06-01 19:18:37 +02:00
setup.cfg Add setup.cfg 2021-06-12 20:41:00 +02:00
setup.py fix: python is python3.9 2021-06-18 19:20:54 +02:00

ProtoTorch: Prototype Learning in PyTorch

ProtoTorch Logo

Build Status tests GitHub tag (latest by date) PyPI codecov Codacy Badge 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}}
}