diff options
| author | ziejd2 | 2018-04-25 17:12:17 -0500 |
|---|---|---|
| committer | GitHub | 2018-04-25 17:12:17 -0500 |
| commit | d3d9cb0033d895ae31d96da4dedb177e74ec17bc (patch) | |
| tree | ced52472881a5840480fee6591416c765e517fbd | |
| parent | ad8435459b6571a82bb1818667727d1b50017c86 (diff) | |
| download | BNW-d3d9cb0033d895ae31d96da4dedb177e74ec17bc.tar.gz | |
Update BNW_data_flow.txt
| -rw-r--r-- | BNW_data_flow.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/BNW_data_flow.txt b/BNW_data_flow.txt index 494e4644..09b94ced 100644 --- a/BNW_data_flow.txt +++ b/BNW_data_flow.txt @@ -1,14 +1,14 @@ -This file will provide an overview of data flow within BNW. +This file will provide an overview of data flow within BNW and describe the output files that are created for the network. These files are written to the /sourcecodes/data/ directory. This focuses on what happens after clicking on "Learn network model from data" on homepage (home.php). -<b>Step 1: Upload data</b> +Step 1: Upload data Clicking "Learn network model from data" on homepage (home.php) goes to: bn_file_load_gom.php which is responsible for uploading the input file and preparing it for structure/parameter learning. Specifically, uploading a file runs the 'run_prep_input' script in /sourcecodes. -This runs the prepareInput.m Matlab/Octave function. +This runs the prepareInput.m MATLAB/Octave function. One additional note: BNW assigns each network a randomly generated 3 letter prefix when the file is uploaded. @@ -17,7 +17,7 @@ I will use ??? to signify this prefix. The following 13 files are written to /sourcecodes/data directory during this step: 1) ???continuous_input_orig.txt: This is an exact copy of the input file uploaded by the user. 2) ???continuous_input.txt: Input file after processing by prepareInput.m. - -A couple of notable changes are made to the input file. + -A couple of notable changes are made that differentiate input.txt from input_orig.txt. a) An additional header type row containing the variable/node type is added as the second row of the file. See ???type.txt below. b) Discrete variable values are recoded to be integers. @@ -48,7 +48,7 @@ This is a link to executionprogress.php which just displays a "progress bar" and To start structure learning, it runs execute_bn_gom.php. execute_bn_gom.php which runs the run.sh script and prepares a couple of files. -The run.sh contains the commands to run the structure learning codes. +The run.sh script contains the commands to run the structure learning codes. Output files from structure learning that are written to /sourcecodes/data: 1) ???structure_input.txt: The structure matrix, containing the edges included in the network model. @@ -153,7 +153,6 @@ Several files must be created to account for this. They are the same as describe -Structure learning: |
