Skip to main content

Personal toolbox to simulate Cognitive Flexibility and Stability

Project description

Mentevo logo

👋 Mentevo is a compact library designed for studying the dynamic of balancing cognitive stability and flexibility in groups of agents, initially providing the implementation code for the research paper of Brondetta et al, 2023.

This repository also introduces various parametrization, visualization methods as well as metrics to compute performances of each agents. However, Mentevo emphasizes experimentation and is not an official reproduction of any other paper aside from Brondetta et al.

Getting Started

To start with Mentevo, we propose multiple notebook that will help you familiarize with the library

  • Starter Notebook Open
  • Study of optimal gain value depending on the task switching rate Open
  • Performance in details Open
  • Partially informed agents Open

Otherwise, you can simply start hacking with mentevo, it's as simple as:

from mentevo import (Experiment, compute_performance, plot_curves)

# create an experiment object
experiment = Experiment(nb_agents=4)
curves = experiment.solve()

plot_curves(experiment, curves)
scores = compute_performance(experiment, curves)
print('scores', scores)

When optimizing, it's crucial to fine-tune the hyperparameters. Parameters like the alpha, beta, d or tau significantly impact the output. We recommend ajusting the values according to the original paper to ensure comparable results.

Citation

@inproceedings{brondetta2024benefits,
  title={On the Benefits of Heterogeneity in Cognitive Stability and Flexibility for Collaborative Task Switching},
  author={Brondetta, Alessandra and Bizyaeva, Anastasia and Lucas, Maxime and Petri, Giovanni and Musslick, Sebastian},
  booktitle={Proceedings of the Annual Meeting of the Cognitive Science Society},
  volume={46},
  year={2024}
}

Authors

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

mentevo-0.0.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

Mentevo-0.0.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file mentevo-0.0.1.tar.gz.

File metadata

  • Download URL: mentevo-0.0.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for mentevo-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cdc276e569ddae6350aa2d58f2024e996b11846800b5ed16a67fc2da0112221c
MD5 aad3b8aee6dd9a29179cb15090f102b5
BLAKE2b-256 179f9bf375fd20263f9c9a588e7e70542bb817e57a7208fa1b0478f5b3cf9566

See more details on using hashes here.

File details

Details for the file Mentevo-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Mentevo-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for Mentevo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ca3ffd4f2c8f4e3630905e01c1cf412f744f0a74a30f2bf31589c1ff958ad1d
MD5 4b94abb7efddbe2fd19cbb67b8c1adb0
BLAKE2b-256 ea29dfd29f47cdf2d48ce7903db287236cb6bba919184e114c4d85fc1e916d25

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