Personal toolbox to simulate Cognitive Flexibility and Stability
Project description
👋 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
- Simulation examples
- Performance metric in details
- Study of optimal gain value depending on the task switching rate
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
- Alessandra Brondetta, PhD Student under the supervision of Prof. Dr. Sebastian Musslick, Automated Scientific Discovery of Mind and Brain, Osnabrück University.
Contact
If you have any feedback, questions or suggestions, feel free to contact:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mentevo-0.2.0.tar.gz.
File metadata
- Download URL: mentevo-0.2.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7106830af7c316ea3d4bfdb07fb551efbd09c1c0129a8f50eaf91badef468fa
|
|
| MD5 |
1b4d15f2e2549e2c0759bce5c5daf383
|
|
| BLAKE2b-256 |
204587dfeb7b2ca8f5840a47e8aa7007e81acc1478861d5c508e85cd8be871de
|
File details
Details for the file mentevo-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mentevo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8de0ab2ba0380be3f13f95438da5025fb800bf108b18d455439e3e2d504778e3
|
|
| MD5 |
adc51624f7cd1eb91a891b39d117cb18
|
|
| BLAKE2b-256 |
132c99f3ce815d1392e197f3201a5c4d5b312aef214474cdfe495d92522e4ef5
|