Forward Sampling -> -f Logic Sampling -> -l Self-Importance Sampling -> -sis Adaptive Importance Sampling -> -ais
The evidence_filename parameter refers to the name of the evidence file, and casenumber refers to how many samples will be taken. The network_stem parameter refers to the filestem of the xml file you will be using. For example, if you wanted to use asia.xml, network_stem should be set to "asia." Once again, you can obtain more information on parameters on the setting environment variables page.D:\bnj>java stochasticsampling/InferentialBBN varFile.varat the command line within the stochasticsampling directory, where varFile.var is the parameters file. You may need to set your input paths if your input files or the parameters file is not in the stochasticsampling directory. Below is the graph of the RMSE values from running forward sampling on the Asia network with 5000 samples. Remember, each importance sampling algorithm outputs the RMSE values to a file called printings.txt, which can be opened in Excel.
D:\bnj>java stochasticsampling/InferentialBBN varFile.varat the command line within the stochasticsampling directory, where varFile.var is the parameters file. You may need to set your input paths if your input files or the parameters file is not in the stochasticsampling directory. Below is the graph of the RMSE values from running logic sampling on the Asia network with 5000 samples. Remember, each importance sampling algorithm outputs the RMSE values to a file called printings.txt, which can be opened in Excel.
D:\bnj>java stochasticsampling/InferentialBBN varFile.varat the command line within the stochasticsampling directory, where varFile.var is the parameters file. You may need to set your input paths if your input files or the parameters file is not in the stochasticsampling directory. Below is the graph of the RMSE values from running self-importance sampling on the Asia network with 5000 samples. Remember, each importance sampling algorithm outputs the RMSE values to a file called printings.txt, which can be opened in Excel.
D:\bnj>java stochasticsampling/InferentialBBN varFile.varat the command line within the stochasticsampling directory, where varFile.var is the parameters file. You may need to set your input paths if your input files or the parameters file is not in the stochasticsampling directory. Below is the graph of the RMSE values from running adaptive importance sampling on the Asia network with 5000 samples. Remember, each importance sampling algorithm outputs the RMSE values to a file called printings.txt, which can be opened in Excel.