To remove all of the evidence type removeallevidence at the prompt. We show the relevant portions of the file cooper.out in Fig. The following assignments are the best explanations mc sc bt c h prob. In this case all variables are binary and take values 1 and 0 only. Each row gives the probability of an assignment of values to the variables compatible with the facts about the individual given in the evidence.
Evidence can also be input to the program from a file, as the following example illustrates.
The Addevidence command is followed by a list of lines describing the evidence. The last line must be followed by a blank line to signal that the addevidence command has ended. They are 1. Based on values an individual or unit happens to have, you want to predict values of other variables for that individual. You want to predict the values an individual or unit will have for some variables if you force the individual or unit to have certain values for other variables.