Using affective manifolds, we can model a machine's mind to feel like a human.
This is the code for the following paper:
- Benyamin Ghojogh, "Affective Manifolds: Modeling Machine's Mind to Like, Dislike, Enjoy, Suffer, Worry, Fear, and Feel Like A Human", arXiv:2208.13386, 2022.
- Link to the paper: https://arxiv.org/abs/2208.13386
For running the code of affective manifolds:
- Install the required packages:
pip install -r requirements.txt
- Put the dataset files
train.csv
andtest.csv
in the path./dataset/
. - Change the config file in the path
./configs/config.json
. You can use the example config files in the path./configs/example_configs/
. - Run the code
main_affective.py
:
python main_affective.py
The part of code for Siamese network is inspired by the code main_siamese.py
, which is taken from the following Kaggle page: