Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connectionist

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connectionist

Tools for classical connectionist models of reading with TensorFlow

  • 0.2.5
  • PyPI
  • Socket score

Maintainers
1

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/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc