Skip to content
Snippets Groups Projects
Commit 87cc1763 authored by Antonio Andriella's avatar Antonio Andriella
Browse files

change bn models

parent 59c6de46
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,7 @@ network agent_assistive_model { ...@@ -2,12 +2,7 @@ network agent_assistive_model {
} }
%VARIABLES DEFINITION %VARIABLES DEFINITION
variable reactivity {
type discrete [3] {slow, medium, fast};
}
variable memory {
type discrete[3] {low, medium, high};
}
variable agent_assistance { variable agent_assistance {
type discrete [ 6 ] { lev_0, lev_1, lev_2, lev_3, lev_4, lev_5}; type discrete [ 6 ] { lev_0, lev_1, lev_2, lev_3, lev_4, lev_5};
} }
...@@ -18,13 +13,10 @@ variable game_state { ...@@ -18,13 +13,10 @@ variable game_state {
type discrete [ 3 ] { beg, mid, end }; type discrete [ 3 ] { beg, mid, end };
} }
variable user_capability {
type discrete [ 3 ] { very_mild, mild, severe };
}
%INDIVIDUAL PROBABILITIES DEFINITION %INDIVIDUAL PROBABILITIES DEFINITION
probability ( agent_assistance ) { probability ( agent_assistance ) {
table 0.16, 0.17, 0.17, 0.17, 0.16, 0.17; table 0.17, 0.17, 0.17, 0.17, 0.16, 0.16;
} }
probability ( game_state ) { probability ( game_state ) {
table 0.34, 0.33, 0.33; table 0.34, 0.33, 0.33;
...@@ -32,56 +24,26 @@ probability ( game_state ) { ...@@ -32,56 +24,26 @@ probability ( game_state ) {
probability ( attempt ) { probability ( attempt ) {
table 0.25, 0.25, 0.25, 0.25; table 0.25, 0.25, 0.25, 0.25;
} }
probability ( user_capability ) {
table 0.33, 0.33, 0.34;
}
#CPDS 4 #SPECIFICALLY FOR THE GIVEN PATIENT
probability ( reactivity ) {
table 0.34, 0.33, 0.33;
}
#CPDS 3 #SPECIFICALLY FOR THE GIVEN PATIENT
probability ( memory ) {
table 0.33, 0.33, 0.34;
}
#Conditional Probabilities #Conditional Probabilities
#CPDS X (very_mild, mild, severe)
probability (user_capability | memory, reactivity) {
(low, slow) 0.1, 0.2, 0.7;
(medium, slow) 0.2, 0.6, 0.2;
(high, slow) 0.7, 0.2, 0.1;
(low, medium) 0.1, 0.3, 0.6; probability (agent_assistance | game_state, attempt) {
(medium, medium) 0.3, 0.6, 0.1;
(high, medium) 0.1, 0.4, 0.5;
(low, fast) 0.3, 0.2, 0.5; (beg, att_1) 0.5, 0.3, 0.2, 0.0, 0.0, 0.0;
(medium, fast) 0.7, 0.2, 0.1; (beg, att_2) 0.2, 0.3, 0.2, 0.1, 0.1, 0.1;
(high, fast) 0.8, 0.1, 0.1; (beg, att_3) 0.3, 0.2, 0.2, 0.1, 0.1, 0.1;
} (beg, att_4) 0.3, 0.3, 0.1, 0.1, 0.1, 0.1;
probability (agent_assistance | user_capability) { (mid, att_1) 0.5, 0.3, 0.2, 0.0, 0.0, 0.0;
(very_mild) 0.4, 0.3, 0.2, 0.1, 0.0, 0.0; (mid, att_2) 0.2, 0.3, 0.2, 0.1, 0.1, 0.1;
(mild) 0.2, 0.3, 0.3, 0.1, 0.05, 0.05; (mid, att_3) 0.3, 0.2, 0.2, 0.1, 0.1, 0.1;
(severe) 0.0, 0.05, 0.25, 0.3, 0.2, 0.2; (mid, att_4) 0.3, 0.3, 0.1, 0.1, 0.1, 0.1;
}
probability (game_state | agent_assistance) { (end, att_1) 0.5, 0.3, 0.2, 0.0, 0.0, 0.0;
(lev_0) 0.1, 0.3, 0.6; (end, att_2) 0.2, 0.3, 0.2, 0.1, 0.1, 0.1;
(lev_1) 0.2, 0.3, 0.5; (end, att_3) 0.3, 0.2, 0.2, 0.1, 0.1, 0.1;
(lev_2) 0.4, 0.3, 0.3; (end, att_4) 0.3, 0.3, 0.1, 0.1, 0.1, 0.1;
(lev_3) 0.4, 0.3, 0.3;
(lev_4) 0.5, 0.4, 0.1;
(lev_5) 0.5, 0.4, 0.1;
}
probability (attempt | agent_assistance) { }
(lev_0) 0.1, 0.2, 0.3, 0.4;
(lev_1) 0.1, 0.2, 0.3, 0.4;
(lev_2) 0.2, 0.2, 0.2, 0.4;
(lev_3) 0.25, 0.25, 0.25, 0.25;
(lev_4) 0.1, 0.25, 0.25, 0.4;
(lev_5) 0.1, 0.25, 0.25, 0.4;
}
\ No newline at end of file
...@@ -2,13 +2,10 @@ network persona_model { ...@@ -2,13 +2,10 @@ network persona_model {
} }
%VARIABLES DEFINITION %VARIABLES DEFINITION
variable reactivity { variable user_reactivity {
type discrete [3] {slow, medium, fast}; type discrete [3] {slow, medium, fast};
} }
variable memory { variable user_memory {
type discrete[3] {low, medium, high};
}
variable attention {
type discrete[3] {low, medium, high}; type discrete[3] {low, medium, high};
} }
variable agent_assistance { variable agent_assistance {
...@@ -42,36 +39,27 @@ probability ( user_action ) { ...@@ -42,36 +39,27 @@ probability ( user_action ) {
table 0.33, 0.33, 0.34; table 0.33, 0.33, 0.34;
} }
#CPDS 4 #SPECIFICALLY FOR THE GIVEN PATIENT #CPDS 4 #SPECIFICALLY FOR THE GIVEN PATIENT
probability ( reactivity ) { probability ( user_reactivity ) {
table 0.34, 0.33, 0.33; table 0.34, 0.33, 0.33;
} }
#CPDS 3 #SPECIFICALLY FOR THE GIVEN PATIENT #CPDS 3 #SPECIFICALLY FOR THE GIVEN PATIENT
probability ( memory ) { probability ( user_memory ) {
table 0.33, 0.33, 0.34;
}
#CPDS 1 #SPECIFICALLY FOR THE GIVEN PATIENT
probability ( attention ) {
table 0.33, 0.33, 0.34; table 0.33, 0.33, 0.34;
} }
probability ( agent_feedback ) { probability ( agent_feedback ) {
table 0.5, 0.5; table 0.5, 0.5;
} }
probability ( reactivity | attention ) {
(low) 0.7, 0.2, 0.1;
(medium) 0.2, 0.5, 0.3;
(high) 0.1, 0.2, 0.7;
}
probability (user_action | memory, reactivity) { probability (user_action | user_memory, user_reactivity) {
(low, slow) 0.2, 0.5, 0.3; (low, slow) 0.2, 0.2, 0.6;
(low, medium) 0.3, 0.5, 0.2; (low, medium) 0.3, 0.2, 0.5;
(low, fast) 0.4, 0.5, 0.1; (low, fast) 0.4, 0.4, 0.2;
(medium, slow) 0.5, 0.3, 0.2; (medium, slow) 0.3, 0.1, 0.6;
(medium, medium) 0.55, 0.35, 0.1; (medium, medium) 0.4, 0.2, 0.4;
(medium, fast) 0.6, 0.4, 0.0; (medium, fast) 0.6, 0.2, 0.2;
(high, slow) 0.5, 0.4, 0.1; (high, slow) 0.7, 0.1, 0.2;
(high, medium) 0.6, 0.3, 0.1; (high, medium) 0.8, 0.1, 0.1;
(high, fast) 0.8, 0.2, 0.0; (high, fast) 0.8, 0.2, 0.0;
} }
probability (agent_feedback | user_action) { probability (agent_feedback | user_action) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment