Skip to main content

Connectionist

Pypi version License Docs

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

https://jasonlo.github.io/connectionist/

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)

Source distribution for connectionist 0.2.5
File Size Uploaded Provenance
connectionist-0.2.5.tar.gz 24.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for connectionist 0.2.5
File Interpreter ABI Platform
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.

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files No provenance

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