include("header_new.inc"); include("header_batchsearch.inc"); include("runtime_check.php"); include("input_validate.php"); $searchID=""; $UploadValue="NO"; $TextFile=$_FILES["MyFile"]["name"]; /////////////Generate a random key///////////////////// $alphas=array(); $alphas = array_merge(range('A', 'Z'), range('a', 'z')); $al1=rand(0,51); $al2=rand(0,51); $al3=rand(0,51); $alpha="$alphas[$al1]"."$alphas[$al2]"."$alphas[$al3]"; $keyval=$alpha; if($_POST["My_key"]!="") $keyval=$_POST["My_key"]; $keyval=valid_keyval($keyval); $sid=$keyval."continuous_input"; //$dir="./data/"; $dir="/tmp/bnw/"; $input_table_file="./data/".$keyval."input_table.txt"; $TextinFile=$dir.$sid."_orig.txt"; if(isset($_POST["searchkey"])) { $searchID=$_POST["searchkey"]; } if($searchID=="") { ?> window.alert ('Sorry, error uploading $TextFile.')"; flush(); exit(); } else { $searchID=file_get_contents("$TextinFile"); //unlink($TextinFile); } } else { echo ""; } } } ?>

Upload data file for structure learning search:


>


Or load one of the example data sets below:


>
>
>
    >
    >

Perform Bayesian network modeling using default settings. Estimated runtime: seconds
Go to structure learning settings and the BNW structural constraint interface
Remove variables from data set

The uploaded data file has the following properties: