BNT-SM inputs a data set and a compact XML specification of a Bayes net model hypothesized by a researcher to describe causal relationships among student knowledge and observed behavior. BNT-SM generates and executes the code to train and test the model using the Bayes Net Toolbox. BNT-SM allows researchers to easily explore different hypothesis with respect to the knowledge representation in a student model. For example, by varying the graphical structure of a Bayesian network, we examined how tutoring intervention can affect students' knowledge state - whether the intervention is likely to scaffold or to help students to learn.
Before we download BNT-SM, we like to thank Kevin Murphy for his kindness in distributing Bayes Net Toolkit (BNT), which BNT-SM based and heavily depended on. For those of you who are proficient in coding and would like to go to the low level BNT code, BNT can be downloaded from Source Forge. Kevin Murphy also has a nice tutorial to BNT and Bayes nets in general.
BNT-SM can be downloaded from here.
Now, with BNT-SM downloaded and extracted, launch Matlab and do
>> cd src
>> setup
>> cd ../model/kt
>> [property evidence hash_bnet] = RunBnet('property.xml');
In the following sections, we will briefly go over the format of the input and output files. There are additional details in the file README.txt at the top level directory in the package.
<?xml version="1.0"?>
<property>
<input>
<evidence_train>evidence.train.xls</evidence_train>
<evidence_test>evidence.test.xls</evidence_test>
</input>
<inference>fast</inference>
<output>
<param_table>param_table.xls</param_table>
<inference_result>inference_result.xls</inference_result>
<inference_result_header>inference_result_header.xls</inference_result_header>
<inference_is_prior>yes</inference_is_prior>
<log>log.txt</log>
</output>
<structure>
<var>F = 1; T = 2;</var>
<nodes>
<node>
<id>1</id>
<name>knowledge</name>
<type>discrete</type>
<values>2</values>
<latent>yes</latent>
<field>knowledge</field>
<within>
<transition>asr_accept</transition>
</within>
<between>
<transition>knowledge</transition>
</between>
</node>
<node>
<id>2</id>
<name>asr_accept</name>
<type>discrete</type>
<values>2</values>
<latent>no</latent>
<field>asr_accept</field>
<within></within>
<between></between>
</node>
</nodes>
<eclasses>
<eclass>
<id>1</id>
<formula>P1(knowledge)</formula>
<type>discrete</type>
<clamp>no</clamp>
<cpd>
<eq>P1(T)</eq><init>0.68</init><param>L0</param>
<eq>P1(F)</eq><init>1-P1(T)</init><param>null</param>
</cpd>
<dirichlet>
<eq>P1_dir(T)</eq><init>6</init>
<eq>P1_dir(F)</eq><init>9</init>
</dirichlet>
</eclass>
<eclass>
<id>2</id>
<formula>P2(asr_accept|knowledge)</formula>
<type>discrete</type>
<clamp>no</clamp>
<cpd>
<eq>P2(T|F)</eq><init>0.64</init><param>guess</param>
<eq>P2(F|T)</eq><init>0.07</init><param>slip</param>
<eq>P2(F|F)</eq><init>1-P2(T|F)</init><param>null</param>
<eq>P2(T|T)</eq><init>1-P2(F|T)</init><param>null</param>
</cpd>
<dirichlet>
<eq>P2_dir(T|F)</eq><init>19</init>
<eq>P2_dir(F|T)</eq><init>1</init>
<eq>P2_dir(F|F)</eq><init>9</init>
<eq>P2_dir(T|T)</eq><init>15</init>
</dirichlet>
</eclass>
<eclass>
<id>3</id>
<formula>P3(knowledge|knowledge)</formula>
<type>discrete</type>
<clamp>no</clamp>
<cpd>
<eq>P3(T|F)</eq><init>0.14</init><param>t</param>
<eq>P3(F|T)</eq><init>0.00</init><param>forget</param>
<eq>P3(F|F)</eq><init>1-P3(T|F)</init><param>null</param>
<eq>P3(T|T)</eq><init>1-P3(F|T)</init><param>null</param>
</cpd>
<dirichlet>
<eq>P3_dir(T|F)</eq><init>2</init>
<eq>P3_dir(F|T)</eq><init>0</init>
<eq>P3_dir(F|F)</eq><init>9</init>
<eq>P3_dir(T|T)</eq><init>0</init>
</dirichlet>
</eclass>
</eclasses>
</structure>
</property>
| user | machine_name | utterance_start_time | utterance_sms | target_word_number | skill | help | knowledge | correct | transcript_key | trn_correct | asr_accept | confidence_score | asr_confidence |
| fBS7-7-1990-02-03 | LISTEN01-308-04 | 2000-05-12 17:52:27 | 640 | 8 | WORLD | 1 | NULL | NULL | NULL | NULL | 2 | 0.0668763 | 1 |
| fDL7-5-1993-11-28 | LISTEN01-334-04 | 2004-10-13 13:56:49 | 421 | 13 | WORLD | 2 | NULL | NULL | NULL | NULL | 2 | 0.0430581 | 1 |
| skill | num_users | num_cases | ll | L1 | guess | slip | t | forget |
| skill_HELLO | 14 | 23 | -3.609297 | 0.744855 | 0.721432 | 0.000005 | 0.982517 | 0.000001 |
| skill_WORLD | 46 | 218 | -90.177505 | 0.695366 | 0.634124 | 0.113612 | 0.256071 | 0.000001 |
| user | machine_name | utterance_start_time | utterance_sms | target_word_number | skill | help | knowledge | correct | transcript_key | trn_correct | asr_accept | confidence_score | asr_confidence |
| fCA8-5-1994-06-27 | LISTEN01-302-04 | 2004-11-09 11:25:24 | 218 | 1 | HELLO | 1 | 0.801846 | NULL | NULL | NULL | 2 | 0.124751 | 1 |
| fCA7-5-1994-06-27 | LISTEN01-315-04 | 2005-01-24 11:33:12 | 468 | 1 | HELLO | 1 | 0.997498 | NULL | NULL | NULL | 2 | 0.0785152 | 1 |