Skip to main content

Naive discriminative learning implements learning and classification models based on the Rescorla-Wagner equations.

Project description

https://github.com/quantling/pyndl/actions/workflows/python-test.yml/badge.svg?branch=main https://codecov.io/gh/quantling/pyndl/branch/main/graph/badge.svg?token=2GWUXRA9PD https://img.shields.io/lgtm/grade/python/g/quantling/pyndl.svg?logo=lgtm&logoWidth=18 https://img.shields.io/pypi/pyversions/pyndl.svg https://img.shields.io/github/license/quantling/pyndl.svg https://zenodo.org/badge/DOI/10.5281/zenodo.597964.svg

pyndl is an implementation of Naive Discriminative Learning in Python. It was created to analyse huge amounts of text file corpora. Especially, it allows to efficiently apply the Rescorla-Wagner learning rule to these corpora.

Installation

The easiest way to install pyndl is using pip:

pip install --user pyndl

For more information have a look at the Installation Guide.

Documentation

pyndl uses sphinx to create a documentation manual. The documentation is hosted on Read the Docs.

Getting involved

The pyndl project welcomes help in the following ways:

For more information on how to contribute to pyndl have a look at the development section.

Authors and Contributers

pyndl was mainly developed by Konstantin Sering, Marc Weitz, David-Elias Künstle, Elnaz Shafaei Bajestan and Lennart Schneider. For the full list of contributers have a look at Github’s Contributor summary.

Currently, it is maintained by Konstantin Sering and Marc Weitz.

Funding

pyndl was partially funded by the Humboldt grant, the ERC advanced grant (no. 742545) and by the University of Tübingen.

Acknowledgements

This package is build as a python replacement for the R ndl2 package. Some ideas on how to build the API and how to efficiently run the Rescorla Wagner iterative learning on large text corpora are inspired by the way the ndl2 package solves this problems. The ndl2 package is available on Github here.

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

pyndl-1.2.0.tar.gz (38.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyndl-1.2.0-cp311-cp311-win_amd64.whl (74.2 kB view details)

Uploaded CPython 3.11Windows x86-64

pyndl-1.2.0-cp311-cp311-manylinux_2_35_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

pyndl-1.2.0-cp311-cp311-macosx_12_0_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.11macOS 12.0+ x86-64

pyndl-1.2.0-cp310-cp310-win_amd64.whl (74.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pyndl-1.2.0-cp310-cp310-manylinux_2_35_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.35+ x86-64

pyndl-1.2.0-cp310-cp310-macosx_12_0_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.10macOS 12.0+ x86-64

pyndl-1.2.0-cp39-cp39-win_amd64.whl (74.3 kB view details)

Uploaded CPython 3.9Windows x86-64

pyndl-1.2.0-cp39-cp39-manylinux_2_35_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.35+ x86-64

pyndl-1.2.0-cp39-cp39-macosx_12_0_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.9macOS 12.0+ x86-64

pyndl-1.2.0-cp38-cp38-win_amd64.whl (74.4 kB view details)

Uploaded CPython 3.8Windows x86-64

pyndl-1.2.0-cp38-cp38-manylinux_2_35_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.35+ x86-64

pyndl-1.2.0-cp38-cp38-macosx_12_0_x86_64.whl (41.9 kB view details)

Uploaded CPython 3.8macOS 12.0+ x86-64

File details

Details for the file pyndl-1.2.0.tar.gz.

File metadata

  • Download URL: pyndl-1.2.0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.18 Linux/6.2.0-1016-azure

File hashes

Hashes for pyndl-1.2.0.tar.gz
Algorithm Hash digest
SHA256 72503fcd3a4b318f3d4e0d528f8e149805e3ee73b8c83416a0df42e1ecd6f8ee
MD5 9db830e73334f1366dfe264512678846
BLAKE2b-256 5bbb3d7ba5bee81ddef01af3acc0979c29b8121cf9f0278aa33f23e55b15d9b7

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 74.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.11.6 Windows/10

File hashes

Hashes for pyndl-1.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 051dc11b6f2fe443da119527c4e8966f0f9ac086bf6c5cc3b5fd38e59be85b66
MD5 d80de08214262c0bb99e8d099127fd58
BLAKE2b-256 0df9eb380eb355e52e1b41033432bf5078e6990c3bf22af082aa702b84033207

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp311-cp311-manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.11, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.11.6 Linux/6.2.0-1016-azure

File hashes

Hashes for pyndl-1.2.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 eb45e0a7d2bb28ed7b45c3bb4b668ac56fe7fd83f1733d26898377b0b56d2e75
MD5 d5c339cac3d5726d10d7162bb42ca6ab
BLAKE2b-256 6c7c0a127abf75a3aa5e4335196bf7739f9dd8329ab60f4d72c60de481ac201b

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp311-cp311-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.11, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.11.5 Darwin/21.6.0

File hashes

Hashes for pyndl-1.2.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 e979668c0362ea7db55f38e8cda8889123b184af3cfd150141f738e1f873b87e
MD5 98778aa2b07d6839c3d04b172c0eedcd
BLAKE2b-256 e5aa5519d1a4109d8cd695084f8247d2afe1e9f606673a1c8071955fa161cd9f

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 74.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.11 Windows/10

File hashes

Hashes for pyndl-1.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e30d2e1e6b09372cce2a12eeef87b4033c77211e9d68dc5ad110166d6647fb21
MD5 448b466d0cf2a5f969c22dbab8855b7e
BLAKE2b-256 d018a494531f7df98b314137de31e2e55770625c35b6f596467ef0cf268a10db

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp310-cp310-manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.10, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.13 Linux/6.2.0-1016-azure

File hashes

Hashes for pyndl-1.2.0-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 a08abf318be05ab11786c6805807b2c4046645b97ea5b6dc08b9e15dbbf2954c
MD5 054bd9ef202f0bd492d41ba86b26fa91
BLAKE2b-256 a931dcfa30c8ee82999ee6dd78283e7f00576a827f76d94e1f783a071d30919d

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp310-cp310-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.10, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.13 Darwin/21.6.0

File hashes

Hashes for pyndl-1.2.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 56e170f21688bfab7bf5ff751dd437e74eebc34192f85b4d25aa9a57132ed14b
MD5 b14a3675451e4903e5c8b51ce4e40ddb
BLAKE2b-256 1e1f801adf9e93cc70b1da8de74034971af4dee38f26817b5b71a96947e8b2ea

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 74.3 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.13 Windows/10

File hashes

Hashes for pyndl-1.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 23b5ad1fc534234627b1f6a0fe7a4d899582eb11465fc401810c981e4fb4f27f
MD5 82619bd15ad4b02ac4a1675b7d3617a0
BLAKE2b-256 518c07abdcbdca71657b1f5490ecde85d9fc1d988d8eb406254c8e0b0484d842

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp39-cp39-manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp39-cp39-manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.9, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.18 Linux/6.2.0-1016-azure

File hashes

Hashes for pyndl-1.2.0-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 2ae5b59482ced8bcb0bfe7f191b48dba4fe533d1d2fec8ee0b1ff36e04eca36e
MD5 8b12fec8b6668e87e7d0c58bfc54220d
BLAKE2b-256 4945311a93c33f729d7544a4e18c2ca847f02ec0aed6638c4ca3bf83bafe9dce

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp39-cp39-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.9, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.18 Darwin/21.6.0

File hashes

Hashes for pyndl-1.2.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 62422766e788c346d98c5d992cb67c76812a7b1abc02d4fc7eb75782b230cafd
MD5 69a084e27bce3244f0fff961949dbaea
BLAKE2b-256 4aa25cf86ee21e75d29b851b12cd6bc34c2aa0298e42ec68e51047b885691eee

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 74.4 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Windows/10

File hashes

Hashes for pyndl-1.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 488b3603aff011306947518dcf3b66abb126c05523e0b841239bd8fa54df3e26
MD5 c36d022cadf50871ee7fd2e7371fe3da
BLAKE2b-256 900aeea3f8a24d3d4e6e9b2148c050d62f74f44ad34f82e310826f84109c3600

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp38-cp38-manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp38-cp38-manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.8, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.18 Linux/6.2.0-1016-azure

File hashes

Hashes for pyndl-1.2.0-cp38-cp38-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 bfc2ff3694f38c33470ff0cfcaabacd05d52a9a22a9b6679b9e7d7ac5b9d365e
MD5 8437b1c8d545cfc287235e5376bc0e01
BLAKE2b-256 c46c8c2c70fc71a197ef7205c721fcdbbd9096d23f57890cb7b400f8a708de2f

See more details on using hashes here.

File details

Details for the file pyndl-1.2.0-cp38-cp38-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: pyndl-1.2.0-cp38-cp38-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: CPython 3.8, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.18 Darwin/21.6.0

File hashes

Hashes for pyndl-1.2.0-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 b2224538820e84adf3c0a6c992817f61ae9d28a3bc0e601bd2dde10707e70d2b
MD5 646ce4e68dfac16fc83a71dde6e9e1e5
BLAKE2b-256 6da45e0bd2898294d6c3d109e69af1e9f59c5dc0b929fe2fc2eb0cfa0ae827b5

See more details on using hashes here.

Supported by

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