https://github.com/bootphon/abxpy
ABX discrimination task in python
Science Score: 20.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
2 of 15 committers (13.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Keywords from Contributors
artificial-neural-networks
speech-processing
Last synced: 11 months ago
·
JSON representation
Repository
ABX discrimination task in python
Basic Info
- Host: GitHub
- Owner: bootphon
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://docs.cognitive-ml.fr/ABXpy
- Size: 32.9 MB
Statistics
- Stars: 44
- Watchers: 18
- Forks: 16
- Open Issues: 7
- Releases: 0
Created almost 12 years ago
· Last pushed almost 2 years ago
Metadata Files
Readme
Changelog
Contributing
License
README.rst
.. image:: https://travis-ci.org/bootphon/ABXpy.svg?branch=master
:target: https://travis-ci.org/bootphon/ABXpy
.. image:: https://codecov.io/gh/bootphon/ABXpy/branch/master/graph/badge.svg
:target: https://codecov.io/gh/bootphon/ABXpy
.. image:: https://anaconda.org/coml/abx/badges/version.svg
:target: https://anaconda.org/coml/abx
.. image:: https://zenodo.org/badge/23788452.svg
:target: https://zenodo.org/badge/latestdoi/23788452
ABX discrimination test
=======================
ABX discrimination is a term that is used for three stimuli presented
on an ABX trial. The third is the focus. The first two stimuli (A
and B) are standard, S1 and S2 in a randomly chosen order, and the
subjects' task is to choose which of the two is matched by the final
stimulus (X). (Glottopedia)
This package contains the operations necessary to initialize,
calculate and analyse the results of an ABX discrimination task.
Check out the full documentation at https://docs.cognitive-ml.fr/ABXpy.
Organisation
------------
It is composed of 3 main modules and other submodules.
- `task module
`_ is
used for creating a new task and preprocessing.
- `distances package
`_ is
used for calculating the distances necessary for the score
calculation.
- `score module
`_
is used for computing the score of a task.
- `analyze module
`_
is used for analysing the results.
The features can be calculated in numpy via external tools, and made
compatible with this package with the `h5features module
`_, or
directly calculated with one of our tools like `shennong
`_.
The pipeline
------------
+-------------------+----------+-----------------+
| In | Module | Out |
+===================+==========+=================+
| - data.item | task | - data.abx |
| - parameters | | |
+-------------------+----------+-----------------+
| - data.abx | distance | - data.distance |
| - data.features | | |
| - distance | | |
+-------------------+----------+-----------------+
| - data.abx | score | - data.score |
| - data.distance | | |
+-------------------+----------+-----------------+
| - data.abx | analyse | - data.csv |
| - data.score | | |
+-------------------+----------+-----------------+
See `Files Format
`_ for a
description of the files used as input and output.
The task
--------
According to what you want to study, it is important to characterise
the ABX triplets. You can characterise your task along 3 axes: on,
across and by a certain label.
An example of ABX triplet:
+------+------+------+
| A | B | X |
+======+======+======+
| on_1 | on_2 | on_1 |
+------+------+------+
| ac_1 | ac_1 | ac_2 |
+------+------+------+
| by | by | by |
+------+------+------+
A and X share the same 'on' attribute; A and B share the same 'across'
attribute; A,B and X share the same 'by' attribute.
Example of use
--------------
See ``examples/complete_run.sh`` for a command line run and
``examples/complete_run.py`` for a Python utilisation.
Installation
------------
The recommended installation on linux and macos is using `conda
`_::
conda install -c coml abx
Alternatively you may want to install it from sources. First clone
this repository and go to its root directory. Then ::
conda env create -n abx -f environment.yml
source activate abx
make install
make test
Build the documentation
-----------------------
To build the documentation in the folder ``ABXpy/build/doc/html``,
simply have a::
make doc
Citation
--------
If you use this software in your research, please cite:
`ABX-discriminability measures and applications
`_,
Schatz T., Université Paris 6 (UPMC), 2016.
Owner
- Name: CoML
- Login: bootphon
- Kind: organization
- Email: syntheticlearner@gmail.com
- Location: Paris, France
- Website: https://cognitive-ml.fr
- Repositories: 55
- Profile: https://github.com/bootphon
GitHub Events
Total
- Watch event: 2
- Member event: 5
Last Year
- Watch event: 2
- Member event: 5
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Roland Thiolliere | r****e@g****m | 177 |
| Thomas Schatz | t****z@l****t | 68 |
| louisabraham | l****m@y****r | 58 |
| Mathieu Bernard | m****d@i****r | 37 |
| Mathieu Bernard | m****d@l****t | 29 |
| syhw | g****e@g****m | 8 |
| julien | j****i@g****m | 7 |
| Juan Benjumea | j****m@g****m | 5 |
| Emmanuel Dupoux | e****x@g****m | 5 |
| jukaradayi | j****n@p****d | 5 |
| THIOLLIERE | t****e@t****) | 4 |
| Your Name | y****u@e****m | 2 |
| Corentin Dancette | c****e@g****m | 2 |
| root | u****e | 1 |
| Ewan Dunbar | e****d@u****u | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 15
- Total pull requests: 10
- Average time to close issues: 7 months
- Average time to close pull requests: 16 minutes
- Total issue authors: 10
- Total pull request authors: 4
- Average comments per issue: 1.67
- Average comments per pull request: 0.2
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- louisabraham (4)
- sophiazhi (2)
- sameerkhurana10 (2)
- jubenjum (1)
- RobinAlgayres (1)
- maureendss (1)
- lemarcantoine (1)
- antonwnk (1)
- mmmaat (1)
- jukaradayi (1)
Pull Request Authors
- cdancette (5)
- mmmaat (2)
- louisabraham (2)
- lemarcantoine (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
environment.yml
conda
- cython >=0.20.1
- editdistance
- h5features >=1.3
- h5py 2.*
- mock
- numpy >=1.8.1
- numpydoc
- pandas >=0.13.1
- pip
- pytables
- pytest >=2.6
- pytest-cov
- pytest-runner
- python >=3.6
- scipy >=0.14.0
- setuptools
- sphinx_rtd_theme
doc/readthedocs-pip-requirements.txt
pypi
- Sphinx >=0.6
- mock >=1.0
- numpy >=1.6
- numpydoc >=0.4
setup.py
pypi
- h5py *
- numpy *
- pandas *
- scipy *
- tables *