Skip to main content

Personal toolbox to simulate Cognitive Flexibility and Stability

Project description

Mentevo logo

📚 Explore the docs »


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

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 Open
  • Simulation examples Open
  • Performance metric in details Open
  • Study of optimal gain value depending on the task switching rate 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)
simulation_results = experiment.solve()

# plots the simulation results
plot_curves(experiment, simulation_results)

# compute the performance
scores = compute_performance(experiment, simulation_results)
print('individual performance', scores[0])
print('group performance', scores[1])

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

Contact

If you have any feedback, questions or suggestions, feel free to contact:

📧 albrondetta@uni-osnabrueck.de

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.1.0.tar.gz (15.3 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.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mentevo-0.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mentevo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25025a1e2e5319ccf019407e1785261533fe3ba7c50f6ddddf23c3912bc1b785
MD5 f724f4b5d2a2ad0fcf8a11d971ad4328
BLAKE2b-256 e26a799cc37cd3fe51433465d5e0eb4b66098ed6ebabae34ea29905fa7ce8cce

See more details on using hashes here.

File details

Details for the file mentevo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mentevo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mentevo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85b6b4a893778119fc76ce24413aeac846e97a49dc9a6551195a2641360a31df
MD5 323da3a54a180f20c122bc111d2adc04
BLAKE2b-256 9061f604cb673419e882591562787ce1ecc0e9563ec1420b6b65368b6e407ae0

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