From f63ad9b7f2228346bf32b69eef4a11af1e1ef96d Mon Sep 17 00:00:00 2001 From: Antonio Andriella <aandriella@iri.upc.edu> Date: Sun, 15 Nov 2020 00:00:29 +0100 Subject: [PATCH] bn models in template folder --- bn_models_template/agent_model_template.bif | 26 +++++++++++++++ bn_models_template/persona_model_template.bif | 33 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 bn_models_template/agent_model_template.bif create mode 100644 bn_models_template/persona_model_template.bif diff --git a/bn_models_template/agent_model_template.bif b/bn_models_template/agent_model_template.bif new file mode 100644 index 0000000..1ca11f0 --- /dev/null +++ b/bn_models_template/agent_model_template.bif @@ -0,0 +1,26 @@ +network agent_assistive_model { +} + +%VARIABLES DEFINITION + +variable agent_assistance { + type discrete [ 6 ] { lev_0, lev_1, lev_2, lev_3, lev_4, lev_5}; +} +variable attempt { + type discrete [ 4 ] { att_1, att_2, att_3, att_4 }; +} +variable game_state { + type discrete [ 3 ] { beg, mid, end }; +} + + +%INDIVIDUAL PROBABILITIES DEFINITION +probability ( agent_assistance ) { + table 0.17, 0.17, 0.17, 0.17, 0.16, 0.16; +} +probability ( game_state ) { + table 0.34, 0.33, 0.33; +} +probability ( attempt ) { + table 0.25, 0.25, 0.25, 0.25; +} diff --git a/bn_models_template/persona_model_template.bif b/bn_models_template/persona_model_template.bif new file mode 100644 index 0000000..d8227ea --- /dev/null +++ b/bn_models_template/persona_model_template.bif @@ -0,0 +1,33 @@ +network persona_model { +} + +%VARIABLES DEFINITION + +variable agent_assistance { + type discrete [ 6 ] { lev_0, lev_1, lev_2, lev_3, lev_4, lev_5 }; +} +variable attempt { + type discrete [ 4 ] { att_1, att_2, att_3, att_4 }; +} +variable game_state { + type discrete [ 3 ] { beg, mid, end }; +} + +variable user_action { + type discrete [ 3 ] { correct, wrong, timeout }; +} + +%INDIVIDUAL PROBABILITIES DEFINITION + +probability ( agent_assistance ) { + table 0.17, 0.16, 0.16, 0.17, 0.17, 0.17; +} +probability ( game_state) { + table 0.34, 0.33, 0.33; +} +probability ( attempt ) { + table 0.25, 0.25, 0.25, 0.25; +} +probability ( user_action ) { + table 0.33, 0.33, 0.34; +} -- GitLab