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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pclib-2.0.0b2.tar.gz.
File metadata
- Download URL: pclib-2.0.0b2.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18ab74bfe6bd967772d77df3a3d0ea1a19daf623b2a9e1293747bd6375fba530
|
|
| MD5 |
826a97490cd5be4527acc004b236bd4f
|
|
| BLAKE2b-256 |
c43615268248a01bd8e0f0cea5f25e10dbbd8dee9b7fbb0e760cb430cd6cf980
|
File details
Details for the file pclib-2.0.0b2-py3-none-any.whl.
File metadata
- Download URL: pclib-2.0.0b2-py3-none-any.whl
- Upload date:
- Size: 42.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20e56091de68320b38a25c42cf5ee50e8466627bbd9043c23b50b361598aaaf8
|
|
| MD5 |
efa21aa31a93d0ae7553982a506dbd61
|
|
| BLAKE2b-256 |
eda0f920a9fe4faded3f1e84926668a5dce6fbc805ed297df5dc0eb180a5d7dc
|