Skip to main content

A torch-like package for building Predictive Coding Neural Networks.

Project description

PCLib

PCLib is a python package with a torch-like API for building and training Predictive Coding Networks.

Documentation can be found here.

The package includes a fully-connected layer implementation, as well as a convolutional one. Both are customisable and can be used together or separately for building neural networks.

The package also includes a helper class for constructing fully-connected PCNs. This class has been designed to be extremely customiseable such that the network it builds can be used in a wide range of tasks: supervised/unsupervised, classic/inverted, etc. There is also a CNN class, however it is not customisable in shape. For more detailed explanations, please see the documentation.

Installation


pip install pclib

Example usage

In the examples folder you will find two different classification tasks which demonstrate the usage of this package.

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

pclib-2.0.0b2.tar.gz (22.7 kB view hashes)

Uploaded Source

Built Distribution

pclib-2.0.0b2-py3-none-any.whl (42.1 kB view hashes)

Uploaded Python 3

Supported by

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