![PsiZ logo](docs/img/full_logo_300.png)
[![PyPI version](https://badge.fury.io/py/psiz.svg)](https://badge.fury.io/py/psiz)
[![Python](https://img.shields.io/pypi/pyversions/psiz.svg?style=plastic)](https://badge.fury.io/py/psiz)
[![Documentation Status](https://readthedocs.org/projects/psiz/badge/?version=latest)](https://psiz.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/psiz-org/psiz/branch/main/graph/badge.svg?token=UIK748KI5I)](https://codecov.io/gh/psiz-org/psiz)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
---
**WARNING:** This package is pre-release and the API is not stable. All APIs are subject to change and all releases are alpha.
---
## Purpose
PsiZ provides computational tools for modeling how people perceive the world. The primary use case of PsiZ is to infer psychological representations from human behavior (e.g., similarity judgments). The package integrates cognitive theory with modern computational methods.
## Resources
* Official Psiz Documentation: [psiz.readthedocs.io/en/latest](https://psiz.readthedocs.io/en/latest/)
* [PsiZ Examples](examples/)
## What's in a name?
The name PsiZ (pronounced like the word *size*, /sʌɪz/) is meant to serve as shorthand for the term *psychological embedding*. The greek letter Psi is often used to denote the field of psychology and the matrix variable **Z** is often used in machine learning to denote a latent feature space.
## Installation
There are two different ways to install: PyPI or git. Installing via git has the advantage of including examples and tests in the cloned repository.
At the moment, PsiZ installs both TensorFlow and Pytorch as dependencies. A majority of Psiz will work with both backend frameworks, but not all features (such as stochastic layers) are supported for pytorch.
### Using PyPI
```
$ pip install psiz
```
You can optionally install the python packages necessary for running package tests (e.g., `pytest`):
```
$ pip install "psiz[test]"
```
### Using git
```
# Clone the PsiZ repository from GitHub to your local machine.
$ git clone https://github.com/psiz-org/psiz.git
# Use `pip` to install the cloned repository.
$ pip install /local/path/to/psiz
```
**Notes:**
* PsiZ originally required TensorFlow. Please see the [TF compatibility matrix](https://www.tensorflow.org/install/source#gpu) for supported Python and CUDA versions for each version of TensorFlow. As of PsiZ v0.12, Keras 3 is used for the majority of layers, which allows users to use either TensorFlow or Pytorch. Your preferred backend can be set by modifying the configuration file automatically created by Keras: `~/.keras/keras.json`. Pytorch support is still experimental.
* PsiZ versions <=0.5.0 must be installed using git clone and editable mode (e.g., `pip install -e /local/path/to/psiz`).
* You can install specific releases:
* using PyPI: `pip install 'psiz==0.5.1'`
* using git: `git clone https://github.com/psiz-org/psiz.git --branch v0.5.1`
## Attribution
If you use PsiZ in your work please cite at least one of the following:
```
@InProceedings{Roads_Love_2021:CVPR,
title = {Enriching ImageNet with Human Similarity Judgments and Psychological Embeddings},
author = {Brett D. Roads and Bradley C. Love},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2021},
month = {6},
pages = {3547--3557}
doi = {10.1109/CVPR46437.2021.00355},
}
```
```
@Article{Roads_Mozer_2019:BRM,
title = {Obtaining psychological embeddings through joint kernel and metric learning},
author = {Brett D. Roads and Michael C. Mozer},
journal = {Behavior Research Methods},
year = {2019},
volume = {51},
pages = {2180–-2193},
doi = {10.3758/s13428-019-01285-3}
}
```
## Contribution Guidelines
If you would like to contribute please see the [contributing guidelines](CONTRIBUTING.md).
This project uses a [Code of Conduct](CODE.md) adapted from the [Contributor Covenant](https://www.contributor-covenant.org/)
version 2.0, available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
## Licence
This project is licensed under the Apache Licence 2.0 - see LICENSE file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/psiz-org/psiz",
"name": "psiz",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.9",
"maintainer_email": null,
"keywords": "psychology, cognitive science",
"author": "Brett D. Roads",
"author_email": "brett.roads@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6d/0c/858f7e53f2280df10799916c9e85e9cf30096210d2d30c4af23ef5d19680/psiz-0.12.4.tar.gz",
"platform": null,
"description": "![PsiZ logo](docs/img/full_logo_300.png)\n\n[![PyPI version](https://badge.fury.io/py/psiz.svg)](https://badge.fury.io/py/psiz)\n[![Python](https://img.shields.io/pypi/pyversions/psiz.svg?style=plastic)](https://badge.fury.io/py/psiz)\n[![Documentation Status](https://readthedocs.org/projects/psiz/badge/?version=latest)](https://psiz.readthedocs.io/en/latest/?badge=latest)\n[![codecov](https://codecov.io/gh/psiz-org/psiz/branch/main/graph/badge.svg?token=UIK748KI5I)](https://codecov.io/gh/psiz-org/psiz)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n---\n**WARNING:** This package is pre-release and the API is not stable. All APIs are subject to change and all releases are alpha.\n\n---\n\n## Purpose\n\nPsiZ provides computational tools for modeling how people perceive the world. The primary use case of PsiZ is to infer psychological representations from human behavior (e.g., similarity judgments). The package integrates cognitive theory with modern computational methods.\n\n## Resources\n* Official Psiz Documentation: [psiz.readthedocs.io/en/latest](https://psiz.readthedocs.io/en/latest/)\n* [PsiZ Examples](examples/)\n\n## What's in a name?\n\nThe name PsiZ (pronounced like the word *size*, /s\u028c\u026az/) is meant to serve as shorthand for the term *psychological embedding*. The greek letter Psi is often used to denote the field of psychology and the matrix variable **Z** is often used in machine learning to denote a latent feature space.\n\n## Installation\n\nThere are two different ways to install: PyPI or git. Installing via git has the advantage of including examples and tests in the cloned repository.\n\nAt the moment, PsiZ installs both TensorFlow and Pytorch as dependencies. A majority of Psiz will work with both backend frameworks, but not all features (such as stochastic layers) are supported for pytorch.\n\n### Using PyPI\n```\n$ pip install psiz\n```\nYou can optionally install the python packages necessary for running package tests (e.g., `pytest`):\n```\n$ pip install \"psiz[test]\"\n```\n\n### Using git\n```\n# Clone the PsiZ repository from GitHub to your local machine.\n$ git clone https://github.com/psiz-org/psiz.git\n# Use `pip` to install the cloned repository.\n$ pip install /local/path/to/psiz\n```\n\n**Notes:**\n* PsiZ originally required TensorFlow. Please see the [TF compatibility matrix](https://www.tensorflow.org/install/source#gpu) for supported Python and CUDA versions for each version of TensorFlow. As of PsiZ v0.12, Keras 3 is used for the majority of layers, which allows users to use either TensorFlow or Pytorch. Your preferred backend can be set by modifying the configuration file automatically created by Keras: `~/.keras/keras.json`. Pytorch support is still experimental.\n* PsiZ versions <=0.5.0 must be installed using git clone and editable mode (e.g., `pip install -e /local/path/to/psiz`).\n* You can install specific releases:\n * using PyPI: `pip install 'psiz==0.5.1'`\n * using git: `git clone https://github.com/psiz-org/psiz.git --branch v0.5.1`\n\n## Attribution\nIf you use PsiZ in your work please cite at least one of the following:\n```\n@InProceedings{Roads_Love_2021:CVPR,\n title = {Enriching ImageNet with Human Similarity Judgments and Psychological Embeddings},\n author = {Brett D. Roads and Bradley C. Love},\n booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},\n year = {2021},\n month = {6},\n pages = {3547--3557}\n doi = {10.1109/CVPR46437.2021.00355},\n}\n```\n```\n@Article{Roads_Mozer_2019:BRM,\n title = {Obtaining psychological embeddings through joint kernel and metric learning},\n author = {Brett D. Roads and Michael C. Mozer},\n journal = {Behavior Research Methods},\n year = {2019},\n volume = {51},\n pages = {2180\u2013-2193},\n doi = {10.3758/s13428-019-01285-3}\n}\n```\n\n## Contribution Guidelines\nIf you would like to contribute please see the [contributing guidelines](CONTRIBUTING.md).\n\nThis project uses a [Code of Conduct](CODE.md) adapted from the [Contributor Covenant](https://www.contributor-covenant.org/)\nversion 2.0, available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.\n\n## Licence\nThis project is licensed under the Apache Licence 2.0 - see LICENSE file for details.\n",
"bugtrack_url": null,
"license": "Apache Licence 2.0",
"summary": "Toolbox for inferring psychological embeddings.",
"version": "0.12.4",
"project_urls": {
"Documentation": "https://psiz.readthedocs.io/en/latest/",
"Homepage": "https://github.com/psiz-org/psiz",
"Source": "https://github.com/psiz-org/psiz",
"Tracker": "https://github.com/psiz-org/psiz/issues"
},
"split_keywords": [
"psychology",
" cognitive science"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2fd6e65a065187721fabdafed6ecd88028e52f4336e15a43d4e8ff9e7994cf6c",
"md5": "719865255a6882935db52c9723eb981a",
"sha256": "1c5235a8048dd13e72e779125c5cfd74641ffe3a5db4824fe8d6172ced8adef9"
},
"downloads": -1,
"filename": "psiz-0.12.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "719865255a6882935db52c9723eb981a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.9",
"size": 158847,
"upload_time": "2024-09-18T22:38:26",
"upload_time_iso_8601": "2024-09-18T22:38:26.173989Z",
"url": "https://files.pythonhosted.org/packages/2f/d6/e65a065187721fabdafed6ecd88028e52f4336e15a43d4e8ff9e7994cf6c/psiz-0.12.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6d0c858f7e53f2280df10799916c9e85e9cf30096210d2d30c4af23ef5d19680",
"md5": "764a31cfcdbaf05e36edf90a042bfa20",
"sha256": "fb5936a9693d22099bcbc26c457fe432d097ad26560b4b0859eaab29fa4b1da3"
},
"downloads": -1,
"filename": "psiz-0.12.4.tar.gz",
"has_sig": false,
"md5_digest": "764a31cfcdbaf05e36edf90a042bfa20",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.9",
"size": 37053812,
"upload_time": "2024-09-18T22:38:29",
"upload_time_iso_8601": "2024-09-18T22:38:29.024047Z",
"url": "https://files.pythonhosted.org/packages/6d/0c/858f7e53f2280df10799916c9e85e9cf30096210d2d30c4af23ef5d19680/psiz-0.12.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-18 22:38:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "psiz-org",
"github_project": "psiz",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "psiz"
}