Skip to main content

ProtoFlow: Prototype Learning in TensorFlow

ProtoFlow Logo

Build Status tests GitHub tag (latest by date) docs PyPI codecov PyPI - Downloads GitHub license

PyTorch users, please see: ProtoTorch

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 ProtoFlow is ease-of-use, extensibility and speed.

Installation

ProtoFlow can be easily installed using pip. To install the latest version, run

pip install -U protoflow

To also install the extras, run

pip install -U protoflow[docs,others,tests]

To install the bleeding-edge features and improvements before they are release on PyPI, run

git clone https://github.com/si-cim/protoflow.git
git checkout dev
cd protoflow
pip install -e .[docs,others,tests]

For gpu support, run

pip install -U protoflow[gpu]

Documentation

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

Usage

For researchers

ProtoFlow is modular. It is very easy to use the modular pieces provided by ProtoFlow, like the layers, losses, callbacks and metrics to build your own prototype-based(instance-based) models. These pieces blend-in seamlessly with Keras allowing you to mix and match the modules from ProtoFlow with other Keras modules.

For engineers

ProtoFlow comes prepackaged with many popular Learning Vector Quantization (LVQ)-like algorithms in a convenient API. If you would simply like to be able to use those algorithms to train large ML models on a GPU, ProtoFlow lets you do this without requiring a black-belt in high-performance Tensor computation.

Bibtex

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

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

Release files for protoflow 0.3.4

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

Source distribution (sdist)

Source distribution for protoflow 0.3.4
File Size Uploaded
protoflow-0.3.4.tar.gz 160.7 kB Details

Release files / protoflow-0.3.4.tar.gz

Download URL protoflow-0.3.4.tar.gz
Size 160.7 kB
Tags Source
SHA-256 checksum
How to use checksums
46493970a0dea331b85eb5373c8c9ec66252d76353f6ccc1de9f16dd7685a2bb
BLAKE2b-256 checksum
How to use checksums
2d6d5048a7df83e7682c8270dbb3a73b5e9214ae5d21bb6f6870a32ee7cf283f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.3.4 This release

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

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