Connectionist
Connectionist contains some tools for classical connectionist models of reading in TensorFlow. This project is a course companion python library for Contemporary neural networks for cognition and cognitive neuroscience.
Features
- Ready-to-use models of reading in TensorFlow
- Various "brain" (model) damaging APIs
- Basic building blocks (layers) for connectionist models
Requirements
- Python >=3.8
- TensorFlow >=2.9
Installation
pip install connectionist
Quick start
End-to-end toy example with Plaut, McClelland, Seidenberg and Patterson (1996), simulation 3 model:
import tensorflow as tf
from connectionist.data import ToyOP
from connectionist.models import PMSP
data = ToyOP()
model = PMSP(tau=0.2, h_units=10, p_units=9, c_units=5)
model.compile(
optimizer=tf.keras.optimizers.Adam(),
loss=tf.keras.losses.BinaryCrossentropy(),
)
model.fit(data.x_train, data.y_train, epochs=3, batch_size=20)
model(data.x_train)
Documentation
Metadata
Release files for connectionist 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| connectionist-0.2.5.tar.gz | 24.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| connectionist-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.9 kB
Release files / connectionist-0.2.5.tar.gz
| Download URL | connectionist-0.2.5.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
922477830352e3d62bed8a0d2323f8e2a27852338522e5826e924d0e21a346d9
|
|
BLAKE2b-256 checksum How to use checksums |
7671bdb70300476bfa892772ded79792798b2d6a0665c551feb5665d04a0f137
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / connectionist-0.2.5-py3-none-any.whl
| Download URL | connectionist-0.2.5-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ab815862553586f978184af694bf0fea6ef2574d766dba0d273ceb6c407b115
|
|
BLAKE2b-256 checksum How to use checksums |
7ba3e8f8c56a5844dd78d4aa59dd99dd8a9379ea5b16ee4b74afce5287a3bc3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for connectionist 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.